I recently installed Visual Studio 2010 Ultimate. When I add a control to the default.aspx page, the corresponding C# code isn't added to the default.aspx.cs page. Is there any way to enable this, like it was in VS 2008, or will I have to manually add the code for each control?
For example, if I add a Button control, I'd like it to add a function like "Button1_click". That's what Visual Studio 2008 did.
AUpadhyay
2010-08-01 20:54:26
I've never seen that behaviour in VS2008, just double click the button and the code will be automagically written for you.
Simon Hazelton
2010-08-01 20:58:16
When I double click the button, it takes me to the source view for the default.aspx page
AUpadhyay
2010-08-01 21:00:43
...sounds like you may have an installation problem. The VS.net 2010 behavior is the same as VS.net 2008 in this case.
Tahbaza
2010-08-01 21:07:42