HtmlForm Object— <form> Element
This defines an HTML form.The values of controls within the form are posted to the server when the form is submitted. Table D.1 lists the properties of the HtmlForm object, and Table D.2 lists the methods.
Property | Description |
---|---|
Action |
Gets or sets the Action attribute of the form control.
The Action attribute is the URL of a web page that processes the form’s data. The Action attribute defaults to the current page. |
Enctype |
Gets or sets the Enctype attribute of the form.
The Enctype attribute is the encoding type that browsers use when posting a form’s data. Possible values include multipart/form-data, text/plain, and image/jpeg. The Enctype attribute defaults to application/ ... |
Get Inside ASP.NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.