Problem Importing ASPX Page

  • Thread starter Thread starter Wayne Wengert
  • Start date Start date
W

Wayne Wengert

I have a VS.NET Solution. I am trying to add a copy of an existing ASPX file
which provides some calendar selection functionality. I used Project/Import
Existing to import the aspx page and I used the option to add it to my
solution. Now, when I run the app and click on the button to load the
imported page, it appears, but not all the objects are filled. There are no
assembly errors but I do note that if I try entering one of the imported
page's objects, intellisense does not provide any of the methods or such.

I suspect I did not import this correctly. Any suggestions on how this
should be done?

TIA

Wayne
 
Sounds weird. What I've noticded is that when I import an existing .aspx page, the code-behind file (aspx.vb - in the case of .vb) and the .resx file get imported with it. Since intellisense is not picking up the objects, it makes me wonder whether that really happenned

Suggestion: Delete it out and try again. Then check to make sure the code-behind and the .resx got copied along with the .aspx file. (If not, maybe there's some IDE option we don'tn know about.) ASFAIK, when you do an import that's what's supposed to happen. In other words, I don't THINK the project you're working in is supposed to refer back to tha project you imported from

Good Luck
 
Are you using a different version of VS.NET? All I see is Add existing item,
no import function...
 
Rich said:
Sounds weird. What I've noticded is that when I import an existing .aspx
page, the code-behind file (aspx.vb - in the case of .vb) and the .resx file
get imported with it. Since intellisense is not picking up the objects, it
makes me wonder whether that really happenned.

The code-behind and the resx pages are there?

Suggestion: Delete it out and try again. Then check to make sure the
code-behind and the .resx got copied along with the .aspx file. (If not,
maybe there's some IDE option we don'tn know about.) ASFAIK, when you do an
import that's what's supposed to happen. In other words, I don't THINK the
project you're working in is supposed to refer back to tha project you
imported from.
 
Back
Top