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

Error when rebinding RadGrid from RadTreeView click - Upgrading from 2010 to 2014

1 Answer 145 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ali
Top achievements
Rank 1
Ali asked on 26 May 2014, 02:25 AM
Hi,

We're upgrading our web application from Telerik 2010 to 2014. 
After replacing the DLL files as instructed by Telerik, one functionality seems to broken.
We have a RadTreeView inside a RadPane:

<telerik:RadPane ID="RadPane1" runat="server" Width="14%" Scrolling="Y">
            <telerik:RadTreeView ID="RadTreeViewSideNav" runat="server" TabIndex="1"
                AccessKey="T" AllowNodeEditing="false" ShowLineImages="false"
                OnClientContextMenuItemClicked="RadTreeViewSideNav_ClientContextMenuItemClicked"
                OnClientMouseOut="RadTreeViewSideNav_ClientMouseOut"
                OnClientMouseOver="RadTreeViewSideNav_ClientMouseOver"
                OnClientLoad="RadTreeViewSideNav_ClientLoad"
                OnClientNodeEditing="RadTreeViewSideNav_ClientNodeEditing"
                OnClientNodeClicking="RadTreeViewSideNav_ClientNodeClicking"
                OnClientNodeEditStart="RadTreeViewSideNav_ClientNodeEditStart"
                OnNodeEdit="RadTreeViewSideNav_NodeEdit"
                OnNodeClick="RadTreeViewSideNav_NodeClick">
                <ContextMenus>
                    <telerik:RadTreeViewContextMenu ID="RadTreeViewContextMenuEmpty" runat="server">
                        <CollapseAnimation Duration="20" Type="OutQuint" />
                    </telerik:RadTreeViewContextMenu>
                    <telerik:RadTreeViewContextMenu ID="MainContextMenu" runat="server">
                        <CollapseAnimation Duration="200" Type="OutQuint" />
                    </telerik:RadTreeViewContextMenu>
                    <telerik:RadTreeViewContextMenu ID="MainContextMenu2" runat="server">
                        <CollapseAnimation Duration="200" Type="OutQuint" />
                    </telerik:RadTreeViewContextMenu>
                    <telerik:RadTreeViewContextMenu ID="RadTreeViewContextMenuContact" runat="server">
                        <CollapseAnimation Duration="200" Type="OutQuint" />
                    </telerik:RadTreeViewContextMenu>
                    <telerik:RadTreeViewContextMenu ID="RadTreeViewContextMenuContact1" runat="server">
                        <CollapseAnimation Duration="200" Type="OutQuint" />
                    </telerik:RadTreeViewContextMenu>
                    <telerik:RadTreeViewContextMenu ID="RadTreeViewContextMenuContact2" runat="server">
                        <CollapseAnimation Duration="200" Type="OutQuint" />
                    </telerik:RadTreeViewContextMenu>
                </ContextMenus>
                <CollapseAnimation Duration="100" Type="OutQuint" />
                <ExpandAnimation Duration="100" />
            </telerik:RadTreeView>
            <telerik:RadToolTip ID="tt1" runat="server" Position="BottomRight" Width="170px" Height="20px" Animation="None" Modal="false" ShowCallout="false" AutoCloseDelay="10000">
                <span id="mails" class="formlabel"></span>
                <div id="spanSound"></div>
            </telerik:RadToolTip>
        </telerik:RadPane>

Clicking on the menus of the RadTreeView is supposed to rebind a RadGrid inside another RadPane (separated from the one hosting the
RadTreeView).

Initially, I was receiving this error upon click:
   Uncaught TypeError: Cannot read property 'oldUpdatePanelIDs' of undefined

After searching around, I found out here that removing the RadCompression from web.config may resolve the issue. So I did so.

But now I am having another problem (I am pasting from Google Chrome Developer Tools console log so you know the full error):

Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to ...<omitted>...'. Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scm_TSM&compress=1&_TSM_CombinedScripts_=%3b…:6
 
   Error.createTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scm_TSM&compress=1&_TSM_CombinedScripts_=%3b…:6
   Sys.WebForms.PageRequestManager._createPageRequestManagerParserErrorTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scm_TSM&compress=1&_TSM_CombinedScripts_=%3b…:15
   Sys.WebForms.PageRequestManager._parseDeltaTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scm_TSM&compress=1&_TSM_CombinedScripts_=%3b…:15
   Sys.WebForms.PageRequestManager._onFormSubmitCompletedTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scm_TSM&compress=1&_TSM_CombinedScripts_=%3b…:15
   (anonymous function)Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scm_TSM&compress=1&_TSM_CombinedScripts_=%3b…:6
   (anonymous function)Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scm_TSM&compress=1&_TSM_CombinedScripts_=%3b…:6
   Sys.Net.WebRequest.completedTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scm_TSM&compress=1&_TSM_CombinedScripts_=%3b…:6
   _onReadyStateChange

Any suggestion is appreciated.
Regards.

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 28 May 2014, 08:16 AM
Hi Ali,

Could you please disable any RadAjaxManager or RadAjaxPanels on your pages and let me know what the real error message is. You can disable the ajax by setting EnableAJAX to “false” on the RadAjaxManager or RadAjaxPanels.

Looking forward for your reply.

Regards,
Radoslav
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
Grid
Asked by
Ali
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or