This is a migrated thread and some comments may be shown as answers.

controlling jQuery Load and Versions

1 Answer 165 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert Hinojosa
Top achievements
Rank 1
Robert Hinojosa asked on 12 Mar 2009, 08:58 PM
What i'm really wanting is to be able to control when that WebResource script gets loaded, because I need to do some processing with some other jQuery plugins, they control the layout, so they need to be loaded and run prior to all telerik control scripts. 

Ideally, is there a way to just load the jQuery resource first, then load a second WebResource by that has the rest of set of scripts in script combined format?  

Alternatively, I could take care of loading jQuery 1.3, and I'll be responsible for setting $telerik.$  = jQuery.noConflict(true);

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 13 Mar 2009, 08:49 AM
Hello Robert Hinojosa,

By all means. You can use the following approach:
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1">
            <Scripts>
                <asp:ScriptReference Name="Telerik.Web.UI.Common.jQuery.js" Path="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" Assembly="Telerik.Web.UI" />
            </Scripts>
        </telerik:RadScriptManager>


It will render the jquery script before RadControls scripts.

Regards,
Albert
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.
Tags
General Discussions
Asked by
Robert Hinojosa
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or