Share via


ValidationHelper.RequireField Method

Include Protected Members
Include Inherited Members

Registers the specified field as one that requires user entry.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method RequireField(String) Registers the specified field as one that requires user entry.
Public method RequireField(String, String) Registers the specified field as one that requires user entry and registers the specified string as the error message to display if no value is supplied.

Top

See Also

Reference

ValidationHelper Class

System.Web.WebPages Namespace