What is Unobtrusive Validation? - ASP.NET MVC Demystified

One of the more useful things MVC includes is Unobtrusive Validation with the usage of the jQuery Validate plugin and the Unobtrusive library. This lightweight library allows us to add validation to our MVC views without any additional client-side coding; we only have to use attributes like RequiredAttribute and RangeAttribute and include the correct script files. In this post, we'll take a look at a simple example of how to use Unobtrusive Validation, and break down how it actually works.... Read more >