IClientModelValidator Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the contract for performing validation in the browser.
MVC's validation system invokes IClientModelValidator to gather attributes that apply to the rendered HTML. The rendered view may have to reference JavaScript libraries, such as jQuery Unobtrusive Validation, to provide client validation based on the presence of these attributes.
public interface class IClientModelValidator
public interface IClientModelValidator
type IClientModelValidator = interface
Public Interface IClientModelValidator
- Derived
Add |
Called to add client-side model validation. |