I have an RadGrid with an Editform template that contains a RadAjaxPanel control with a sub-gird inside panel. I am using the RadAjaxPanel to help eliminate the page refresh when performing updates to the data inside the editform template. I use a RadAjaxLoadingPanel with all default values so that when the sub-grid is updated the loading image shows and the whole page will not refresh. However, I noticed that if I refresh or rebind the sub-grid it causes the parent grid to refresh as well. So the setup looks something like this.
<telerik:RadGrid ID="MyParentGrid ... >
{Databound Columns}
...
<EditFormSettings EditFormType="Template" EditColumn-HeaderButtonType="LinkButton">
<EditColumn UniqueName="EditCommandColumn1" FilterControlAltText="Filter EditCommandColumn1 column"></EditColumn>
<FormTemplate>
<telerik:RadAjaxPanel ID="EditArea" runat="server" Visible='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "false", "true") %>' BorderStyle="Solid" BorderWidth="1px" LoadingPanelID="RadAjaxLoadingPanel1">
<telerik:RadGrid ID="MyChildGrid" ... >
</telerik:RadGrid>
</telerik:RadAjaxPanel...>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
</telerik:RadAjaxLoadingPanel>
</FormTemplate>
</EditFormSettings>
</telerik:RadGrid>
Is there something I need to do to isolate the update of the sub-grid from the parent grid? Do I need an AjaxManager inside the EditForm Template?
Thanks in Advance,
Jeff
<telerik:RadGrid ID="MyParentGrid ... >
{Databound Columns}
...
<EditFormSettings EditFormType="Template" EditColumn-HeaderButtonType="LinkButton">
<EditColumn UniqueName="EditCommandColumn1" FilterControlAltText="Filter EditCommandColumn1 column"></EditColumn>
<FormTemplate>
<telerik:RadAjaxPanel ID="EditArea" runat="server" Visible='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "false", "true") %>' BorderStyle="Solid" BorderWidth="1px" LoadingPanelID="RadAjaxLoadingPanel1">
<telerik:RadGrid ID="MyChildGrid" ... >
</telerik:RadGrid>
</telerik:RadAjaxPanel...>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
</telerik:RadAjaxLoadingPanel>
</FormTemplate>
</EditFormSettings>
</telerik:RadGrid>
Is there something I need to do to isolate the update of the sub-grid from the parent grid? Do I need an AjaxManager inside the EditForm Template?
Thanks in Advance,
Jeff