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

RadAjaxManager no longer working after Telerik Upgrade to 2016 version

1 Answer 90 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 22 Jan 2016, 04:52 PM

Hello,

 I have a project that uses the RadAjaxManager all over the place and prior to the upgrade all of the controls would update just fine. Since the upgrade however none of the controls update. The only thing I get back is an error in the console when ever I do an action that should cause an Ajax update. The control bellow is one example of the many controls and pages using the RadAjaxManager 

 Masterpage.master

01.<body>
02.    <form id="form1" runat="server">
03. 
04.    <telerik:RadScriptManager ID="MasterRadScriptManager" runat="server">
05.        <Scripts>
06.            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
07.            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
08.            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
09.        </Scripts>
10.    </telerik:RadScriptManager>
11. 
12.    <telerik:RadAjaxManager ID="MasterRadAjaxManager" runat="server" EnableAJAX="true" UpdatePanelsRenderMode="Inline" EnableViewState="false">
13.    </telerik:RadAjaxManager>
14. 
15.    <telerik:RadAjaxLoadingPanel ID="MasterRadAjaxLoadingPanel" CssClass="MasterRadAjaxLoadingPanel" Runat="server" height="150px" width="150px">
16.    </telerik:RadAjaxLoadingPanel>

 

ColumnSelectorModule.ascx

01.<%@ Control Language="C#" Inherits="LogicData.CustomerPortal.CustomerPortalView.ColumnSelectorModule"  MasterPageFile="~/Themes/MasterPage.Master" %>
02.<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
03. 
04.        <div class="ColumnSelectorModule">
05.        <telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server">
06.            <AjaxSettings>
07.                <telerik:AjaxSetting AjaxControlID="SourceRadListView">
08.                    <UpdatedControls>
09.                        <telerik:AjaxUpdatedControl ControlID="SourceRadListView" />
10.                        <telerik:AjaxUpdatedControl ControlID="RadListViewDestination" />
11.                    </UpdatedControls>
12.                </telerik:AjaxSetting>
13.                <telerik:AjaxSetting AjaxControlID="RadListViewDestination">
14.                    <UpdatedControls>
15.                        <telerik:AjaxUpdatedControl ControlID="SourceRadListView" />
16.                        <telerik:AjaxUpdatedControl ControlID="RadListViewDestination" />
17.                    </UpdatedControls>
18.                </telerik:AjaxSetting>
19. 
20.            </AjaxSettings>
21.        </telerik:RadAjaxManagerProxy>
22. 
23.        <telerik:RadSplitter ID="ColumnSelectorRadSplitter" runat="server" CssClass="columnselectorradsplitter">
24.            <telerik:RadPane ID="RadPane1" runat="server" Height="100%" Width="333px" Scrolling="Y" CssClass="radpanedestination">
25.                <asp:Label runat="server" ID="AvailableColumnsLabel" CssClass="QuerySettingInfoLabel">
26.                </asp:Label>
27.                <telerik:RadListView ID="SourceRadListView" runat="server" OnNeedDataSource="SourceRadListView_NeedDataSource" ClientIDMode="Predictable" OnItemDrop="SourceRadListView_ItemDrop" AllowPaging="false">...
28.                </telerik:RadListView>
29.            </telerik:RadPane>
30.     
31.            <telerik:RadPane ID="RadPaneDestination" runat="server" Width="333px" Scrolling="Y" CssClass="radpanedestination">
32.                <asp:Label runat="server" ID="QuerySettingInfoLabel" CssClass="QuerySettingInfoLabel">
33.                </asp:Label>
34.                <telerik:RadListView ID="RadListViewDestination" runat="server" OnNeedDataSource="RadListViewDestination_NeedDataSource" OnDataBound="RadListViewDestination_DataBound" DataKeyNames="DataField, QueryColumnSettingId" ClientIDMode="Predictable" OnItemDrop="RadListViewDestination_ItemDrop" AllowPaging="false">...
35.                </telerik:RadListView>
36.            </telerik:RadPane>
37.        </telerik:RadSplitter>
38. 
39.        <asp:Panel runat="server" ID="DebugPanel"></asp:Panel>
40.    </div>

 

Thank you.

-Chris

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 27 Jan 2016, 12:20 PM
Hi Chris,

Would you try to add the RadPane in both the UpdatedControls collection and as Ajax initiator (AjaxControlID). The approach is described in this article.

Also try to remove the EnableViewState property for RadAjaxManager and see if it makes a difference.

Regards,
Viktor Tachev
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Ajax
Asked by
Chris
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or