Strange problem with Visual Studio .Net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a strange problems with VS. Net 2003. I have used a lot of users
controls in a web application. I declare some varaibles as Public in the code
behind files of some user controls. I don't know why or how, VS .Net will
change my variables scopes from Public to Protected.

Any Ideas?

TIA
 
VS.NET 2003 is known for mucking around with code.

If you need these controls to be publicly accessible, simply create public
properties that wrap the protected members. VS.NET shouldn't mess with your
properties.
 
Back
Top