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

RadGrid Selecting Row for Drag and Drop is not working If AjaxControlToolKit.Config is used

2 Answers 29 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 27 Aug 2014, 11:00 AM
I'm trying to upgrade Telerik and AjaxControlToolKit Controls. With this  Change I'm forced to use AjaxControlToolKitManager.I have defined ControlBundle in AjaxControlTool.Config referenced under Controlbundle of ToolKitScriptManager to minimize scripts generated . With this Change Drag and Drop of Telerik
RadGrid is not working . Can you please help me on this?. Please let me
know if you want more details?

2 Answers, 1 is accepted

Sort by
0
Ravi
Top achievements
Rank 1
answered on 27 Aug 2014, 11:52 AM
Here is my code


                         
<ajaxToolkit:ToolkitScriptManager ID="masterPageScriptManager" runat="server" AsyncPostBackTimeout="1200" ScriptMode="Release" EnablePageMethods="true"
                EnableScriptGlobalization="true" CombineScripts="false">
                <CompositeScript>
                    <Scripts>
                             
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/Core.js" />
                            <asp:ScriptReference path="~/Telerik/Scripts/Ajax/Ajax.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/jQuery.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/jQueryPlugins.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/Scrolling/ScrollingScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/Navigation/OData/OData.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/AnimationFramework/AnimationFramework.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/Navigation/OverlayScript.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/Navigation/NavigationScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Menu/RadMenuScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Menu/ContextMenu/RadContextMenuScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Menu/MenuItem/RadMenuItem.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Menu/Views/ClassicView.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/AutoCompleteBox/RadAutoCompleteBoxScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/Popup/PopupScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Spell/SpellCheckService.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/LayoutBuilder/LayoutBuilderEngine.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/Widgets/Draggable.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/Widgets/Resizable.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Editor/RadEditor.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Dialogs/RadDialogOpenerScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/Animation/AnimationScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Common/TouchScrollExtender.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Window/RadWindowScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/Grid/RadGridScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/ComboBox/RadComboBoxScripts.js" />
                            <asp:ScriptReference path = "~/Telerik/Scripts/ComboBox/Views/ClassicView.js"/>
                    </Scripts>
                </CompositeScript>
               <ControlBundles>
                    <ajaxToolkit:ControlBundle Name="AdminMaster" />
                </ControlBundles>
            </ajaxToolkit:ToolkitScriptManager>
 
 
 
<ajaxControlToolkit>
  <controlBundles
    <controlBundle name="AdminMaster">
      <control name="ModalPopupExtender"></control>
      <control name="CalendarExtender"></control>
      <control name="CascadingDropDown"></control>
      <control name="CollapsiblePanelExtender"></control>
       <control name="AutoCompleteExtender"></control>
      <control name="FilteredTextBoxExtender"></control>
      <control name="TextBoxWatermarkExtender"></control>
      <control name="MaskedEditExtender"></control>
      <control name="MaskedEditValidator"></control>
    </controlBundle>
  </controlBundles>
</ajaxControlToolkit>-->
0
Viktor Tachev
Telerik team
answered on 01 Sep 2014, 08:01 AM
Hello Ravi,

Since the September 2013 release the AjaxControlToolkit does not work with the standard ScriptManager, it requires ToolkitScriptManager to work. More information for the release is available here.

As the RadScriptManager was based on the ScriptManager this may lead to incompatibility between the Telerik controls and the ToolkitScriptManager. Would you try to use the RadScriptManager and see if the RadGrid would work as expected?

In case there are still some issues would you elaborate more on what is not working as expected? Please describe in greater detail what are the requirements for the RadGrid and what should be the expected result.

Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Ajax
Asked by
Ravi
Top achievements
Rank 1
Answers by
Ravi
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or