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

RadGrid Error with Ajax Manager

1 Answer 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Harika
Top achievements
Rank 1
Harika asked on 14 Mar 2012, 04:22 AM
Hi there,

I have a RadGrid control with configured sorting and paging. Grid Sorting is working with Postbacks.

Once i configure RadAjaxManager to update the RadGird control through Ajax when the control changes. sorting of a column works the first time a column header is clicked. When a column header is clicked a second time, I receive an error "updatePanelElement.innerHTML=rendering".

Here is the Code:

<

 

 

telerik:RadScriptManager ID="RadScriptManager1" runat="server" AjaxFrameworkMode="Enabled" />

 

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

 

<AjaxSettings>

 

 

 

<telerik:AjaxSetting AjaxControlID="myGrid">

 

 

 

<UpdatedControls>

 

 

 

<telerik:AjaxUpdatedControl ControlID="myGrid" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

 

</UpdatedControls>

 

 

 

</telerik:AjaxSetting>

 

 

 

</AjaxSettings>

 

 

 

</telerik:RadAjaxManager>

 

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

 


Grid Properties:

<

 

 

telerik:RadGrid ID="myGrid" runat="server" AutoGenerateColumns="False"

 

 

 

AllowSorting="True" AllowPaging="True" AllowCustomPaging="True" PageSize="5"

 

 

 

AllowFilteringByColumn="True" OnDataBinding="myGrid_DataBinding" OnPageIndexChanged="myGrid_PageIndexChanged"

 

 

 

OnSortCommand="myGrid_SortCommand" CellSpacing="0"

 

 

 

GridLines="None" EnableAjaxSkinRendering="False"

 

 

 

onneeddatasource="myGrid_NeedDataSource">

 



Anyone have any suggestions on how to fix?

Thanks in Advance
-Hari

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 16 Mar 2012, 01:13 PM
Hello Hari,

I reviewed the provided markup and it looks totally correct to me. I could not isolate anything obvious that may cause the described problematic behaviour. Could I kindly ask you to open  regular support ticket and send us sample runnable applicator which demonstrates the described error. thus we will be able to debug it locally and advise you further.

Greetings,
Maria Ilieva
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
Grid
Asked by
Harika
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or