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

adding jQuery workarounds for unresolved bugs

3 Answers 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ryan Caskey
Top achievements
Rank 1
Ryan Caskey asked on 07 Apr 2010, 05:44 PM
I have added the jQuery draggable implementation to some column headers in a radgrid.  I'm using this to let me remove a column from a grid by simply dragging it off of the grid.  The grids that I was doing this too are in multiple user controls that are dynamically loaded based on what step of the workflow you are at.  A problem arose when I tried to use Ajax instead of full postbacks when swapping out user controls.  The issue that I'm having is the same that's listed on the jQuery site here: http://dev.jquery.com/ticket/4996.  I seem to have no access to the jQuery javascript code that is rendered by Telerik, and was wondering if there was any way to override the function called by jQuery.fn.offset so I can apply the changes mentioned in the post on the jQuery website.

Thanks,
-Ryan

3 Answers, 1 is accepted

Sort by
0
Ryan Caskey
Top achievements
Rank 1
answered on 07 Apr 2010, 05:48 PM
I actually meant to put this in the ASP.NET AJAX forum, and not the MVC forum.  Can it be moved or should I repost over there?
0
Accepted
Kamen Bundev
Telerik team
answered on 08 Apr 2010, 08:33 AM
Hello Ryan,

You can load different jQuery from the RadScriptManager by specifying a path to it and it will replace the internal one our controls are using. It can be done like this:
<asp:ScriptManager ID="ScriptManager1" 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" Path="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" />
    </Scripts>
</asp:ScriptManager>

Let me know if this helps.

Best wishes,
Kamen Bundev
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
Ryan Caskey
Top achievements
Rank 1
answered on 08 Apr 2010, 04:51 PM
That worked like a charm, thanks a bunch!
Tags
General Discussions
Asked by
Ryan Caskey
Top achievements
Rank 1
Answers by
Ryan Caskey
Top achievements
Rank 1
Kamen Bundev
Telerik team
Share this question
or