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

Using both AjaxToolkit ScriptManager and TelerikScriptManager

1 Answer 202 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 06 Dec 2011, 07:29 PM
I've created a dynamically populated Accordion Ajax control and I really want to keep it, at the same time i am trying to implament drag and drop from telerik.  below is the code i'm using how do I use both script managers?

td width="29%" height="135">
   
<ajaxToolKit:ToolkitScriptManager ID="ToolkitScriptManager2" runat="Server" />
<Scripts>
           
<ajaxToolkit:Accordion ID="NavigateAccordion" runat="server"
                                       
HeaderCssClass="accordionHeader"
                                       
ContentCssClass="accordionContent"
                                       
FadeTransitions="true"
                                       
SuppressHeaderPostbacks = "true"
                                       
AutoSize="None"
                                       
Width="220">
                                           
</ajaxToolkit:Accordion>
</td>
<td width="71%">
    &nbsp;
</td>


                           
<form id="form2" runat="server">
<telerik:RadScriptManager ID="ScriptManager1" 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" />
   
</Scripts>
</telerik:RadScriptManager>
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="Buttons" />

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 09 Dec 2011, 10:24 AM
Hi Joshua,

Using both script mangers (RadScriptManager and ToolkitScriptManager) is not supported since you could have only one script manager control on the page. In such cases it's appropriate to use the RadScriptManager and manually register the scripts needed by the AjaxToolKit.

Please refer to the following forum post, where the same matter had been discussed.

Greetings,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
General Discussions
Asked by
Joshua
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or