Export (0) Print
Expand All

ValidationHelper.RequireField Method (String)

Registers the specified field as one that requires user entry.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public void RequireField(
	string field
)

Parameters

field
Type: System.String
The name (value of the name attribute) of the user input element to validate.
Show:
© 2014 Microsoft