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

JQuery and scriptmanager

1 Answer 97 Views
This is a migrated thread and some comments may be shown as answers.
Ben White
Top achievements
Rank 1
Ben White asked on 18 May 2010, 01:06 PM

I have a Jquery scrollable plugin.

In one of the scrollable divs there is a radcombo box.

Obviously I also have the script manager included in the page.

If I take the scriptmanager and combo box out then the divs scroll as they should.

If I add the scriptmanager and combo box then the divs start scrolling on tab key clicks etc.

Has anyone had any experience of this?


1 Answer, 1 is accepted

Sort by
T. Tsonev
Telerik team
answered on 19 May 2010, 02:42 PM
Hi Ben White,

I'm posting the response to your support ticket here for community reference.

When using RadControls jQuery is not automatically exposed as "$" to avoid conflicts with existing jQuery instances. You need to include an additional script to move jQuery into the global $ object. We recommend the following approach:

Copy Code
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        <asp:ScriptReference Path="/js/" />
        <asp:ScriptReference Path="/js/jquery.corners.min.js" />

This will ensure that jQuery and your plugins are loaded in the necessary order. More info in this help topic and blog post.

I hope this helps.

Tsvetomir Tsonev
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.
Asked by
Ben White
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question