Fork me on GitHub

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

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 ...

ASP.NET Concurrent Ajax Requests and Session State Blocking 17

ASP.NET Concurrent Ajax Requests and Session State Blocking
Intro Today I ran into a pretty interesting and puzzling issue while trying to load many different long running content areas on a screen asynchronously via Ajax & jQuery. It appeared that if I shot off Ajax Request A, B, C, D… that they would always return one after the other (roughly). They never deviated ...

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 ...