ASP.NET What Server Side controls require a Server Form

John Avis by | September 30, 2014 | ASP.NET Html Forms

This is a list of ASP server side controls that require or do not require to be nested inside of a server form (form runat="server").
This is a list of ASP server side controls that require or do not require to be nested inside of a server form (form runat="server").

RequiresDoes not Require
 asp:Label
 asp:HyperLink
asp:TextBox 
asp:Button 
asp:LinkButton 
asp:ImageButton 
asp:DropDownList 
asp:ListBox 
asp:CheckBox 
asp:CheckBoxList 
 asp:Image
 asp:ImageMap
 asp:Table
asp:BulletedList 
asp:HiddenField 
 asp:Literal
asp:Calendar 
 asp:AdRotator
asp:FileUpload 
asp:Wizard 
 asp:Xml
 asp:MultiView
 asp:View
 asp:Panel
 asp:PlaceHolder
 asp:Substitution
 asp:Localize
asp:GridView 
 asp:DataList
asp:DetailsView 
asp:FormView 
 asp:Repeater
 asp:XmlDataSource
asp:Menu 
asp:TreeView 
asp:ScriptManager 

Related Posts

ASP.NET Html Forms ASP.NET Web Forms

File uploading with ASP.NET HtmlForms

by John Avis | June 12, 2012


ASP.NET Web Forms ASP.NET Html Forms

Developing lightweight markup using ASP.NET (or WebForms without forms)

by John Avis | June 9, 2012

There are times when I really like ASP.NET and times when I don't. Usually the times that I don't are when I don't have as much control over the final HTML markup as I would like, or when I look at the amount of JavaScript, ViewState and other markup that ASP.NET has added.

Comments

There are no comments yet. Be the first to leave a comment!

Leave a Comment
Tags
ASP.NET Html Forms ASP.NET MVC ASP.NET Web Forms ASP.NET Web Pages Bootstrap C# Classic ASP Cool Websites Databases eBay and PayPal Electrical Repairs General Hardware HTML/CSS Jquery/Javascript Media Center Mobile Phones Responsive Web Design SEO and Social Networking Web Design Web Development Web Security web+db Website Hosting Windows XP

About me

...mostly about web development and programming, with a little bit of anything else related to the Internet, computers and technology.

Subscribe

Get the latest posts delivered to your inbox.