Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

IClientValidatable Interface

Provides a way for the ASP.NET MVC validation framework to discover at run time whether a validator has support for client validation.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public interface IClientValidatable

The IClientValidatable type exposes the following members.

  NameDescription
Public methodGetClientValidationRulesWhen implemented in a class, returns client validation rules for that class.
Top

The Models\AccountModels file that is created as part of a new ASP.NET MVC project contains the ValidatePasswordLengthAttribute class that implements the IClientValidatable interface. This file provides an example of how to implement the IClientValidatable interface.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.