The HtmlForm control allows Web developers to program against the HTML <form>
element. All server controls, both HTML and custom, are required to be nested between well-formed opening and closing tags of the HtmlForm control.
By default, the HtmlForm control's METHOD attribute is set to POST, and its ACTION attribute is set to the URL of the source page. Developers can customize these attributes to suit their needs, but doing so can break the built-in state and postback services provided by the Web Forms Page Framework.
ASP+ Syntax
Required properties are noted in boldface type.
<form runat=server id="programmaticID" method=POST | GET action="srcpageURL" > Other controls, input forms, and so on. </form>
Tasks
Setting the Encoding Type for Form Data Posted to the Server
Redirecting a Form POST to Another Browser Window or Frame
Overriding the Action Attribute for a Form POST
See Also