G
Guest
I upgraded a web application into a VS 2005/.NET 2.0 Web Application Project
(as opposed to a Website project), but did not set the pages to be partial
classes.
Looking at the code behind, you can see the declarations of all the controls
as it was in Visual Studio 2003. But when I add a new control, VS doesn't add
the new declare in the code behind, and before you can reference the control,
you manually have to add the declaration in the code behind.
I understand if the class was a partial class, but I don't understand why
this is happening. Is this correct? Is this the way that VS handles the
addition of controls in a Web Application Project?
(as opposed to a Website project), but did not set the pages to be partial
classes.
Looking at the code behind, you can see the declarations of all the controls
as it was in Visual Studio 2003. But when I add a new control, VS doesn't add
the new declare in the code behind, and before you can reference the control,
you manually have to add the declaration in the code behind.
I understand if the class was a partial class, but I don't understand why
this is happening. Is this correct? Is this the way that VS handles the
addition of controls in a Web Application Project?