Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Form Property
Collapse the table of content
Expand the table of content

Page.Form Property

Gets the HTML form for the page.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public HtmlForm Form { get; }

Property Value

Type: System.Web.UI.HtmlControls.HtmlForm
The HtmlForm object associated with the page.

Use the Form property to access the methods and properties of the HtmlForm object that is the base of the control hierarchy on the page.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft