A
Axel Dahmen
Hi,
after I've added a property to my web page I can't open it in Visual Studio
Designer anymore. I get the error message "File couldn't be opened in Web
Forms Designer. [...] enablesessionstate page directive required to use
Session object."
I see that Visual Studio Web Forms Designer seems to execute any Property
code when opening the page. But I don't want it to.
How can I check if my page is in design mode so that I can skip any relevant
code during working in Designer?
TIA,
Axel Dahmen
after I've added a property to my web page I can't open it in Visual Studio
Designer anymore. I get the error message "File couldn't be opened in Web
Forms Designer. [...] enablesessionstate page directive required to use
Session object."
I see that Visual Studio Web Forms Designer seems to execute any Property
code when opening the page. But I don't want it to.
How can I check if my page is in design mode so that I can skip any relevant
code during working in Designer?
TIA,
Axel Dahmen