J
jobs
stupid question which I once think I had the answer to I'm sure.
I create webform page with no codebehind.
I then decide I want to create a codebehind for it.
How can I do it so that it falls under the aspx page and does give met
hat context error>
I tried creating the .vb file, and making sure the directive on the
aspx page points to it, but vs.net does not neatly place it under the
aspx page. I tried refreshing , ect..
Imports system.web.security.membership
Imports system.web.security.Roles
when i do a view code it does open the new codefile, but the
directive line on the aspx reads 'context is not a member of xxx.'
I noticed, i have the same problem if i move the vb codefile out and
then back into a directory in vs.net 2005.
Thanks for any help or information.
I create webform page with no codebehind.
I then decide I want to create a codebehind for it.
How can I do it so that it falls under the aspx page and does give met
hat context error>
I tried creating the .vb file, and making sure the directive on the
aspx page points to it, but vs.net does not neatly place it under the
aspx page. I tried refreshing , ect..
Imports system.web.security.membership
Imports system.web.security.Roles
when i do a view code it does open the new codefile, but the
directive line on the aspx reads 'context is not a member of xxx.'
I noticed, i have the same problem if i move the vb codefile out and
then back into a directory in vs.net 2005.
Thanks for any help or information.