Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Form tag with runat=server

Reply
Thread Tools

Form tag with runat=server

 
 
ola
Guest
Posts: n/a
 
      11-28-2003
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.

 
Reply With Quote
 
 
 
 
E620
Guest
Posts: n/a
 
      11-28-2003
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>


"ola" <(E-Mail Removed)> wrote in message
news:008e01c3b5c9$ac09c040$(E-Mail Removed)...
> 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.
>



 
Reply With Quote
 
 
 
 
M.Suresh
Guest
Posts: n/a
 
      11-28-2003
Hi,

You should keep always ur .net web form controls with in
<FORM> tag

>-----Original Message-----
>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.
>
>.
>

 
Reply With Quote
 
rakesh.mwisp rakesh.mwisp is offline
Junior Member
Join Date: Sep 2008
Posts: 3
 
      09-08-2008
What if form runat="server" is already given.....................


and the same problem still coming ..

Control '......' of type 'LinkButton' must be placed inside a form tag with runat=server
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error "A form tag with runat=server must exist" but there is a form tag!! André ASP .Net 2 06-23-2008 07:49 AM
Extra space between form tag and table tag when screen resolution is 1280 x 1024 nikkilou@nycap.rr.com HTML 2 07-24-2007 11:29 PM
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM
How Can I put XSL tag inside HTML form tag? RC Java 2 05-10-2005 06:26 PM
How Can I put XSL tag inside HTML form tag? RC XML 2 05-10-2005 05:55 PM



Advertisments