Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

DataAnnotations example

This is a fairly simple example of creating a custom ValidationAttribute, registering that attribute with MVC 3 to be compiled into the HTML5 data-val-* attributes, and parsing those attributes on the client side to be validated with a custom function using the jquery.validate.unobtrusive plugin.

This example is code associated with my blog post here.

About

An example of using DataAnnotations and jquery.validate.unobtrusive.js from beginning to end in MVC3

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages