System.Web.UI.HtmlControls (system.web.dll) | class |
This class represents the HTML <form> tag,
which is used as a container for other input controls. All ASP.NET
Server Controls that post back to the server must be contained in an
HtmlForm tag. The properties of this control
shouldn't be changed. The Method
property (set to "post") is
particularly important. If modified, you may not be able to use the
built-in postback and control state management services provided by
ASP.NET.
public class HtmlForm : HtmlContainerControl {
// Public Constructors
public HtmlForm( );
// Public Instance Properties
public string Enctype{set; get; }
public string Method{set; get; }
public virtual string Name{set; get; }
public string Target{set; get; }
// Protected Instance Methods
protected override void OnInit(EventArgs e); // overrides System.Web.UI.Control
protected override void Render(System.Web.UI.HtmlTextWriter output); // overrides HtmlContainerControl
protected override void RenderAttributes(System.Web.UI.HtmlTextWriter writer); // overrides HtmlContainerControl
protected override void RenderChildren(System.Web.UI.HtmlTextWriter writer); // overrides System.Web.UI.Control
}
Hierarchy
System.Object
System.Web.UI.Control(System.ComponentModel.IComponent,
System.IDisposable,
System.Web.UI.IParserAccessor,
System.Web.UI.IDataBindingsAccessor)
HtmlControl(System.Web.UI.IAttributeAccessor)
HtmlContainerControl
HtmlForm
|