ASP.NET MVC 3 and jquery.unobtrusive-ajax.min.js-Collection of common programming errors
I’ve read that the solution is usage of jquery.validate.min.js and jquery.validate.unobtrusive.min.js
No, those 2 script have nothing to do with jquery.unobtrusive-ajax.min.js
. They are used for unobtrusive validation. For Ajax.* helpers all you need is jQuery
and jquery.unobtrusive-ajax.min.js
(included in THAT order).
So for unobtrusive AJAX you need:
If you want to use unobtrusive validation you could also include the 2 scripts afterwards (in THAT order):
Another very important thing that you should make sure is that you have removed absolutely any traces of Microsoft*.js
scripts from your project. Those scripts are obsolete and starting from ASP.NET MVC 3 are no longer used by default. Also make sure that youhave enabled unobtrusive AJAX in your web.config, otherwise the system will fallback to the legacy Microsoft ajax scripts: