Cannot access controls in code behind


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
 
Ad

Advertisements


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

Top