Note: Thank you for visiting my blog. However, this blog is not maintained actively anymore. This post is now also in my new blog. Feel free to leave a comment there.
… Continuation from Extending EntLib VAB - Part 2.1: Create custom validators and integrate that with EntLib CABC.
… Continuation from Extending EntLib VAB - Part 2.1: Create custom validators and integrate that with EntLib CABC.
Now lets see how we can enable client side unobtrusive validation for this custom validator by creating adapter for the same and adding the adapter in our custom implementation of DataAnnotationsModelValidatorProvider (explained in Extending EntLib VAB - Part 1: Enable client side support EntLib VAB and align the validation error keys with MVC ModelState keys) and finally writing unobtrusive jQuery validation.