Shawn Mclean
Shawn Mclean

Reputation: 57469

Is Microsoft.ajax.js necessary for ASP.NET MVC ajax stuff?

It it necessary to include microsoft.ajax javascript files to use code such as:

@Ajax.BeginForm()

Upvotes: 4

Views: 1306

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038930

No, it's no longer necessary. ASP.NET MVC 3 uses jquery by default. So you need jquery.unobtrusive-ajax.js which ajaxifies the HTML5 data-* attributes generated by the Ajax.* helpers. So no more MicrosoftAjax*.js.

Upvotes: 13

Related Questions