how to stop visual studio changing my code?

F

fh

Hello,

I use some web user control in my page

I changed some button defintion from protected to public

so that I can register their click on the main page...

but sort of randomly I receive the compilation message saying that
I can't access the button because....
it has automatically changed back to protected....

even so I did nothing....
Is there any option in V.S.?
Franck
 
G

Guest

Probably you might have switched between design mode and code view. During
this process you might have accessed the control which will trigger the
change. There is no setting in Visual studio for what you are asking for.
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top