I am trying to use a RadAjaxLoadingPanel to show a loading indicator when my RadGrid is loading additional data in the OnDetailTableBind event. When the grid is loading additional data, it disappears and no loading indicator appears. If I don't associate the RadAjaxLoadingPanel with the RadGrid, then the grid just sits there until the load finishes.
Here is the code for my page, with columns and detail tables removed for brevity:
The master page for this page includes these lines which are relevant:
The loading effect seems to work in this demo: http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/autogeneratedhierarchy/defaultcs.aspx but I don't see what I am doing differently that should cause this problem.
Thanks in advance for any help.
-Brian
Here is the code for my page, with columns and detail tables removed for brevity:
<
asp:Content
ID
=
"cMain"
ContentPlaceHolderID
=
"cphMain"
runat
=
"server"
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"rgvCorporateSummary"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"rgvCorporateSummary"
LoadingPanelID
=
"rgvCorporateSummaryLoadingPanel"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadAjaxLoadingPanel
ID
=
"rgvCorporateSummaryLoadingPanel"
runat
=
"server"
>
</
telerik:RadAjaxLoadingPanel
>
<
telerik:RadGrid
ID
=
"rgvCorporateSummary"
runat
=
"server"
AutoGenerateColumns
=
"false"
ShowStatusBar
=
"true"
ShowFooter
=
"true"
Skin
=
"WebBlue"
OnCustomAggregate
=
"rgvCorporateSummary_CustomAggregate"
OnNeedDataSource
=
"rgvCorporateSummary_NeedDataSource"
OnDetailTableDataBind
=
"rgvCorporateSummary_DetailTableDataBind"
OnItemCreated
=
"rgvCorporateSummary_ItemCreated"
>
<
FooterStyle
BackColor
=
"#718CA1"
ForeColor
=
"White"
/>
<
MasterTableView
DataKeyNames
=
"LocationID"
AllowMultiColumnSorting
=
"True"
HorizontalAlign
=
"Right"
Width
=
"100%"
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
asp:Content
>
The master page for this page includes these lines which are relevant:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
...
<
telerik:RadScriptManager
ID
=
"rdScriptManager"
runat
=
"server"
EnablePartialRendering
=
"true"
AsyncPostBackTimeout
=
"3600"
>
<
Scripts
>
...
</
Scripts
>
</
telerik:RadScriptManager
>
The loading effect seems to work in this demo: http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/autogeneratedhierarchy/defaultcs.aspx but I don't see what I am doing differently that should cause this problem.
Thanks in advance for any help.
-Brian