ModelClientValidationRule::ErrorMessage Property
Visual Studio 2010
Gets or sets the error message for the client validation rule.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The following example shows how the ModelClientValidationRegexRule constructor sets the error message and validation type, and how it adds a regular expression rule.
Community Additions
ADD
Show: