This is a migrated thread and some comments may be shown as answers.
Using jQuery 1.7.2 with the MVC Controls
3 Answers 50 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 09 May 2012, 06:55 PM
I'm testing out the MVC control library and already have jQuery 1.7.2 included on the page.  I read a post that said to disable jQuery through the script registrar which I did.  It works for the grid if I do server binding.  But when I switched to AJAX binding it threw an error saying "Specified file does not exist: '~/Scripts/jquery-1.7.1.js'".  Any thoughts?

3 Answers, 1 is accepted

Sort by
0
Jon
Top achievements
Rank 1
answered on 25 May 2012, 05:13 PM
I am loading most of my view via ajax. When I look at the html coming back, I am seeing  "/Scripts/jquery-1.7.1.min.js" all over the javascript that Telerik adds to the page....even though I told the ScriptRegistrar not to load jquery.

Try adding 1.71 to your project (but don't reference it anywhere). You won't get the error.

This seems like a bug.


0
Michael
Top achievements
Rank 1
answered on 31 May 2012, 11:36 PM
Jon, thanks for the reply.  I don't want to even have that old version anywhere near my project.  It causes conflicts to happen with jQuery.  I ended up opening up the source code and modifying the code to look for the latest version.  Not a great solution but it works.
0
TDG
Top achievements
Rank 1
answered on 07 May 2013, 12:48 AM
Yes, this is a bug of Telerik. No way to figure it out why.
Even though I am using MVC3, latest version of Telerik scripts, jquery-1.7.1, can find any answers. Not even from Telerik web site.
Disappointed this library over time.
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Jon
Top achievements
Rank 1
Michael
Top achievements
Rank 1
TDG
Top achievements
Rank 1
Share this question
or