System.Web.UI.HtmlControls Namespace
Allows programmatic access to the HTML <form> element on the server.
Visibility |
Constructor |
Parameters |
public |
HtmlForm |
( )
|
|
The HtmlForm control is used as a container for server controls on a Web page. All server controls that post back to the server must be placed between the opening and closing tags of an HtmlForm control.
CAUTION: By default, the Method property is set to Post. You can modify the value in this property, but this may break the built-in state and post back services provided by the page framework.
For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlForm in ASP.NET Syntax for HTML Controls.
HtmlContainerControl