Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ModelValidator.GetClientValidationRules Method

When implemented in a derived class, returns metadata for client validation.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public virtual IEnumerable<ModelClientValidationRule> GetClientValidationRules()

Return Value

Type: System.Collections.Generic.IEnumerable<ModelClientValidationRule>
The metadata for client validation.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.