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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top