This is a migrated thread and some comments may be shown as answers.
Any way to prevent Telerik from including jQuery?
4 Answers 91 Views
This is a migrated thread and some comments may be shown as answers.
James Lance
Top achievements
Rank 1
James Lance asked on 14 Jul 2009, 07:01 PM
We're already including jQuery in all of our pages and there is no need to include it twice.

4 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 15 Jul 2009, 06:49 AM
Hi James,

Please refer to this blog post for details on the matter.

Sincerely yours,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
SelAromDotNet
Top achievements
Rank 2
answered on 15 Jun 2010, 05:40 PM
I don't see anything in that post that explains how to disable or prevent the embedded jquery reference. I too am using my own jquery reference and want to disable the embedded one, how is this done?
0
Simon
Telerik team
answered on 16 Jun 2010, 10:07 AM
Hello SelArom,

You can override our jQuery reference to point to your version of the jQuery.js if you add the following ScriptReference to the Scripts section of your ScriptManager:
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" Path="[path_to_jQuery.js]" />

Regards,
Simon
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Dave
Top achievements
Rank 1
answered on 15 Dec 2011, 11:53 AM
The problem with this is that jQuery plugins are also being nuked by the re-inclusion. So I have to hack around that too. Obviously the person who implemented this as a concept didn't understand the dynamic nature of Javascript objects or perhaps just didn't care about the possibility of other jQuery plugins.
Asked by
James Lance
Top achievements
Rank 1
Answers by
Paul
Telerik team
SelAromDotNet
Top achievements
Rank 2
Simon
Telerik team
Dave
Top achievements
Rank 1
Share this question
or