Cannot access controls in code behind

  • Thread starter Thread starter Crazy Cat
  • Start date Start date
C

Crazy Cat

Hi,

I am developing a Web application using Visual Studio 2008 SP1 and
C# . I am using the non-project option (website
as opposed to web object).

Occassionally when I place a control in the aspx page, I find that it
is not available in code behind. Intellisense doesn't locate the
control, and if I simply type it in, I get an error that the variable
is not defined.

What gives?

Thanks
 
Back
Top