Expand Minimize

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft