Home Dashboard Directory Help
Search

MVC4 / jQuery 1.9 problem by Ed Paaij


Status: 

Closed
 as Fixed Help for as Fixed


1
0
Sign in
to vote
Type: Bug
ID: 778507
Opened: 2/4/2013 4:41:40 PM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

When you create a new MVC 4 Web Application jQuery scripts are included namely jquery-1.7.1.js and jquery.unobstrusive-ajax.js. Now when you bring up the nuget package manager you are encouraged to update the jQuery library to 1.9.* version but if you do this on pages that access the jquery.unobstrusive-ajax.js library you get a reun time error complaining that the .live() functionof the jquery object is unknown on account that it has been decrecated and removed in the laters version and should be replace with the .on() function.

The problem is that the Microsoft based libraries like jquery.unobstrusive-ajax.js have the older deprecated .live() functions in them.

Please correct this in the relevant Microsoft maintained js libraries; perhaps in the 2012.2 update pending for visual studio 2012.
Details
Sign in to post a comment.
Posted by Microsoft on 2/20/2013 at 12:42 PM
Thank you for reporting this issue. We have fixed it in the latest RTM release of the 2012.2 Update. Please do keep the feedback flowing.

Thanks,
ASP .Net Feature Team
Posted by Microsoft on 2/4/2013 at 6:42 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 2/4/2013 at 4:51 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.