Tuesday, February 5, 2013

ASP.NET MVC: Custom unobtrusive validation

Sometimes becomes necessary to create custom validation attribute using custom regular expression. Obviously, we want to keep the client side validation and to make use of our custom regular expression on client side.