ModelClientValidationRule Class
Provides a base class container for a client validation rule that is sent to the browser.
System.Object
System.Web.Mvc.ModelClientValidationRule
System.Web.Mvc.ModelClientValidationEqualToRule
System.Web.Mvc.ModelClientValidationRangeRule
System.Web.Mvc.ModelClientValidationRegexRule
System.Web.Mvc.ModelClientValidationRemoteRule
System.Web.Mvc.ModelClientValidationRequiredRule
System.Web.Mvc.ModelClientValidationStringLengthRule
System.Web.Mvc.ModelClientValidationRule
System.Web.Mvc.ModelClientValidationEqualToRule
System.Web.Mvc.ModelClientValidationRangeRule
System.Web.Mvc.ModelClientValidationRegexRule
System.Web.Mvc.ModelClientValidationRemoteRule
System.Web.Mvc.ModelClientValidationRequiredRule
System.Web.Mvc.ModelClientValidationStringLengthRule
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The ModelClientValidationRule type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ModelClientValidationRule | Initializes a new instance of the ModelClientValidationRule class. |
| Name | Description | |
|---|---|---|
![]() | ErrorMessage | Gets or sets the error message for the client validation rule. |
![]() | ValidationParameters | Gets the list of validation parameters. |
![]() | ValidationType | Gets or sets the validation type. |
Show:
