ajax - ASP.NET MVC 5 Error -


i'm starting learn asp.net mvc , 5 when try debug solution, error appears:

cs0234: type or namespace name 'ajax' not exist in namespace 'system.web.mvc; 

i try reference mvc.ajax, mvc package installed last update.

error build solution:

line 22: using system.web.webpages; line 23: using system.web.mvc; line 24: using system.web.mvc.ajax; line 25: using system.web.mvc.html; line 26: using system.web.routing; 

  1. go manage nuget packages
  2. try find out "microsoft jquery unobtrusive ajax" online
  3. install it.
  4. installing "microsoft jquery unobtrusive ajax", adds "~/scripts/jquery.unobtrusive-ajax.min.js" file. u can search how use ajax.beginform regards

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -