The best feature in client-side architecture is that you may use alternative java scripts validation libraries like jQuery validation.
There are a steps to get client-side validation works using jQuery validation plug-in:
- Download and add to your ASP.NET MVC project following java scripts:
- jquery-1.4.2.js
- jquery.validate.js
- MicrosoftMvcJQueryValidation.js (ASP.NET MVC 2 Futures download)
- Enable client side validation
- add three JavaScript references to your view
- write one line of code in the view before form
- add three JavaScript references to your view