Thursday, October 20, 2011
Wednesday, October 12, 2011
Client side validation not working in ASP.MVC 3
Add the following lines to your view.
HtmlHelper.ClientValidationEnabled = true;
HtmlHelper.UnobtrusiveJavaScriptEnabled = true;
Add the following script files reference to your web page
- jquery-1.4.4.js
- jquery.validate.js
- jquery.validate.unobtrusive.js
Subscribe to:
Posts (Atom)