To save the unsaved edited records on any Grid action, in batch edit mode.
In Batch Edit Mode, with edited records not saved, if we perform any Grid actions such as paging, sorting, etc., an alert message would be shown to save the edited record or cancel the Grid action as in the below screenshot.
We can avoid or prevent this alert message by using “ShowConfirmDialog” Grid EditSettings API.
But preventing the alert message will result in losing the edited records on performing Grid action like paging.
To prevent the alert message and at the same time to save the edited records, we can make use “ActionBegin” Grid event in which using “batchSave“ Grid method we can save the edited records.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|5448||09/22/2015||09/22/2015||ASP.NET Web Forms||Grid|
or the page will be automatically redirected to sign-in page in 10 seconds.