Author: Leif_J | Posted on: 7/7/2010 3:22:49 PM | Views : 475

I couldn't get the search to work correctly for me so if there is already an item that covers this, I'm sorry for the duplicate.  I created a new page in my ASP.NET 3.5 (VS2008) project. Normally this isn't a big deal but for some reason this time it is. The new page compiles just fine but when I try to view the page in the browser I get an 'is not declared' error about controls that are on the page. I can look at the code in VS2008 and it resolves the name there with no problem and it even compiles. I tried a Google search and found that this sort of thing can happen if there is a problem with linking the aspx file to the codebehind (for example, two different aspx files referencing the same codebehind) but that is not the case here. The page name is unique and is correctly linked to its corresponding codebehind file.
The only odd thing I have noticed is that when I select the rename option from the context menu for the clas ...

Go to the complete details ...