Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't access control from code-behind page

Status
Not open for further replies.

bobetko

Programmer
Jan 14, 2003
155
US
I was on the half of my project when suddenly all the controls (server side buttons, labels) became not accessible from within code-behind page. I was getting error: "Control does not exist in the current context". I tried to close and reopen project, to remove page from project, include it back, ... and non of it worked. I tried to create another (test) page and everything worked as it is suppoesed to work. So clearly something is wrong with VS2005.

I found a lot of people with the same problem, but didn't find solution.

Finally, after 5 hours, everything magically started working again. The worst thing is I don't know why? What have I done?

Does anybody have idea what should I do?

Is there alternative to the VS2005? I would like to try something else. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top