Form tag with runat=server

  • Thread starter Thread starter ola
  • Start date Start date
O

ola

Please Help. I get this error in one of my files

Control 'AdminTabControl1_lnk0' of type 'LinkButton' must
be placed inside a form tag with runat=server.
 
In the designer HTML of your page you have an asp LinkButton control
element, I guess it will look something like this:

<asp:LinkButton id="AdminTabControl1" [other properties & etc.] />

The error message says that this LinkButton control needs to be "placed
inside a form tag with runat=server". It wants something like this:

<form id=FormName runat=server> <-- form tag with runat=server
<asp:LinkButton [etc.] /> <-- LinkButton placed inside it
</form>
 
Back
Top