The HtmlForm class defines the methods, properties, and events for the HtmlForm control. This class provides programmatic access to the HTML <form> element on the server.
Object
Control
HtmlControl
HtmlContainerControl
HtmlForm
[Visual Basic] Public Class HtmlForm Inherits HtmlContainerControl [C#] public class HtmlForm : HtmlContainerControl [C++] public __gc class HtmlForm : public HtmlContainerControl [JScript] public class HtmlForm extends HtmlContainerControl
All other HTML Server controls must be contained between opening and closing tags of an HtmlForm control.
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web.dll