UpdatePanel problem - please help!!!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an update panel and when trying to access the controls within the
panel on the server side it will not detect any of the controls and now I am
receiving a message saying all controls within the updatepanel are "not
declared".

Any ideas?
 
Ryan said:
I have an update panel and when trying to access the controls within the
panel on the server side it will not detect any of the controls and now I am
receiving a message saying all controls within the updatepanel are "not
declared".

Any ideas?

How are you trying to access the controls?
 
I have used UpdatePanel before and have always accessed that information via
Text.Text etc.. I am accessing the controls server side by Control.Text.
 
Ryan said:
I have used UpdatePanel before and have always accessed that information via
Text.Text etc.. I am accessing the controls server side by Control.Text.

Yes, that should work.

Make sure that you have runat="server" on the controls that you are
trying to access. Try moving a control to an earlier point in the code
to see if it appears in the intellisense. In that case there might be
something wrong with some of the elements in the page so that it can't
be parsed correctly.
 

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

Back
Top