How to Enable Client Side Validation in ASP.NET MVC 2

added by gilf
9/17/2010 9:15:52 AM

5 Kicks, 356 Views

Last night I was teaching MVC framework as part of an ASP.NET course. One of the things that I showed the students was how to use data annotations for server side validation. I got a question about how to enable client side validation in MVC 2 and decided to write about it in a post. So here it goes…