System.Web.WebPages.Html Namespace
The System.Web.WebPages.Html namespace contains classes that are used to render HTML form elements and to perform validation on user input that is entered in HTML forms.
| Class | Description | |
|---|---|---|
|
HtmlHelper | Provides support for rendering HTML form controls and performing form validation in a web page. |
|
ModelState | Encapsulates the state of model binding to a property of an action-method argument, or to the argument itself. |
|
ModelStateDictionary | Represents the result of binding a posted form to an action method, which includes information such as validation status and validation error messages. |
|
SelectListItem | Represents an item in an HTML select list. |