ValidationHelper.For(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Renders attributes that enable client-side validation for an individual user input element.
public System.Web.HtmlString For (string field);
member this.For : string -> System.Web.HtmlString
Public Function For (field As String) As HtmlString
Parameters
- field
- String
The name (value of the name attribute) of the user input element to validate.
Returns
The attributes to render.