Fork me on GitHub

Clear/Reset MVC 3 Form and Unobtrusive jQuery Client Validation 12

Clear/Reset MVC 3 Form and Unobtrusive jQuery Client Validation
Intro So today I needed to clear a MVC 3 form  with unobtrusive client validation applied to it via jquery.validate.js & jquery.validate.unobtrusive.js. This doesn’t seem too tricky initially until I realized that doing a form reset via a <input type=”reset”/> or a javascript form.Reset() doesn’t eliminate any jQuery validation messages that were displayed! Take a ...

The Unobtrusive Libraries & Client Validation on Ajax in ASP.NET MVC 3 4

MVC 3 Unobtrusive Client Validation and Unobtrusive Ajax Overview As you may be aware, ASP.NET MVC 3 allows the possibility of using unobtursive client validation and unobtrusive Ajax. If enabled, in a nutshell this means that the stock Microsoft JavaScript libraries for both Ajax and validation (MicrosoftAjax.js and MicrosoftMvcValidation.js respectively) have been effectively swapped out ...