Forum Moderators: open

Message Too Old, No Replies

Quick ASP 2.0 / Visual Studio 2005 Question

Differences between old ASP and 2003

         

letsgetsilly

1:11 pm on Sep 6, 2006 (gmt 0)

10+ Year Member



Hello all,

I'm used to VS 2003 where you can drag (for example) a button onto your ASPX page and that button is automatically declared as "Protected ..." at the top of your .vb code-behind.

In 2005 these declarations do not appear at the top of your code, but if you try to manually declare these items, you will receive an error saying that it has already been declared in your class.

Where are these items being declared? Can I see them and edit them?

Thanks in advance!

Easy_Coder

4:34 pm on Sep 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It should be right in the code behind... double click the control at design time to get dropped in.

mattglet

10:04 pm on Sep 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check out: [msdn.microsoft.com...]

Right below Figure 2, it talks about this.

For good measure, here's another good article by Scott Guthrie: [webproject.scottgu.com...]