Capture when batchManager.saveTableChanges completed updates

1 Answer 27 Views
Top achievements
Rank 1
Arkadiusz asked on 09 Feb 2022, 01:56 PM


Using RadGrid client side batch editing.

Is there a way to capture when the updates are complete when using the saveTableChanges?  Adding a callback function maybe?

I need to display a "saving" layer/message to let users know something is happening and prevent them from interacting with the grid.

Here is my code snippet:

                    var batchManager = grid1.get_batchEditingManager();
                    showLoadingPanel(true, 'Saving...');
                    batchManager.saveTableChanges(tables) ;

I would like to be able to ShowLoadingPanel before saving the table changes and hide it after the changes have been saved.


1 Answer, 1 is accepted

Sort by
Attila Antal
Telerik team
answered on 14 Feb 2022, 10:41 AM | edited on 14 Feb 2022, 10:43 AM

Hello Arkadiusz,

The Grid will do a PostBack upon saving changes. If you enable AJAX through the RadAjaxManager and add a RadAjaxLoadingPanel, that will be displayed while the Grid does the update and there is no need to implement an additional CallBack.

Example Markup code:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />

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

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" Width="800px" OnNeedDataSource="RadGrid1_NeedDataSource" OnItemDataBound="RadGrid1_ItemDataBound" OnBatchEditCommand="RadGrid1_BatchEditCommand">
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="OrderID" ClientDataKeyNames="OrderID" EditMode="Batch" CommandItemDisplay="Top">


Here is an online demo: Batch Editing - 

While the Grid is doing the server-side operation to save the changes, the loading panel will cover it and no further interactions can be performed until it is finished.



Related articles:


Attila Antal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at

Asked by
Top achievements
Rank 1
Answers by
Attila Antal
Telerik team
Share this question