Receive error when accessing .NET user control on referring page

Receive error when accessing .NET user control on referring page. I have seen plenty of people struggling with this particular error on a couple of news groups. If you keep receiving an error when accessing the user control you have inserted into your webform. Ensure the user control id matches the object name in the associated code behind. For example you might add a user control to your webform as follows.WebForm1

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish