| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HtmlForm ClassSystem.Web.UI.HtmlControls Namespace Allows programmatic access to the HTML <form> element on the server.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | Name | Value Type | Accessibility |
|---|---|---|---|
| public | Action | String | [ Get , Set ] |
| 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 ] |
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| protected | CreateControlCollection | ( ) | ControlCollection |
| protected | RenderAttributes | ( HtmlTextWriter writer ) | Void |
| public | RenderControl | ( HtmlTextWriter writer ) | Void |
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.
Check out related books at Amazon
© 2000-2008 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 aspxtreme