Code Behind not seeing controls

I have a web project that all of a sudden, my code behind page does not see the controls on the aspx page.  @page directive looks good, is there somewhere else to check?
Who is Participating?
rerardConnect With a Mentor Commented:
I would try:

1. Clean the solution
2. Delete temporary .net files
3. reboot
4. This one may sound weird but it has worked for me when nothing else does.. copy and and paste all the code from your mark up and code behind into a two text files (as backup), delete the file in question, and then create a new file and just copy your code back in.
Is this occurring on all your pages?
mgmhicksAuthor Commented:
Not occuring on all of my pages.  Just the one I built yesterday and earlier it was fine.
binaryevoConnect With a Mentor Commented:
Ive seen where controls get messed up before... What version of Visual Studio?  Try deleting one of the controls and re-adding it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.