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

JQuery and scriptmanager

1 Answer 149 Views
ComboBox
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
Hi,

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?

Thanks

1 Answer, 1 is accepted

Sort by
0
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">
    <Scripts>
        <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/jquery.tools.min.js" />
        <asp:ScriptReference Path="/js/jquery.corners.min.js" />
    </Scripts>
</telerik:RadScriptManager>

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.

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