asp.net.ph

HtmlForm Class

System.Web.UI.HtmlControls Namespace


Allows programmatic access to the HTML <form> element on the server.

HtmlForm Class Members

Collapse   Constructors

Visibility Constructor Parameters
public HtmlForm ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public Action String [ Get , Set ]
public ClientID String [ Get ]
public DefaultButton String [ Get , Set ]
public DefaultFocus String [ Get , Set ]
public Enctype String [ Get , Set ]
public Method String [ Get , Set ]
public Name String [ Get , Set ]
public SubmitDisabledControls Boolean [ Get , Set ]
public Target String [ Get , Set ]
public UniqueID String [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
protected CreateControlCollection ( ) ControlCollection
protected RenderAttributes ( HtmlTextWriter writer ) Void
public RenderControl ( HtmlTextWriter writer ) Void

Remarks

The HtmlForm control is used as a container for server controls on a Web page. All server controls that post back to the server must be placed between the opening and closing tags of an HtmlForm control.

CAUTION: By default, the Method property is set to Post. You can modify the value in this property, but this may break the built-in state and post back services provided by the page framework.

For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlForm in ASP.NET Syntax for HTML Controls.

See Also

HtmlContainerControl Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph