New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Get Delete Notification

This article describes how to get notification (event) for row deletion in batch editing mode.

The batch editing happens client-side and by default deleted rows are hidden immediately, and this may confuse the user that the delete operation has already completed, but they must press the Save Changes button first.

To show the end user that they have changes in the grid, set the HighlightDeletedRows property under BatchEditingSettings to true. It provides a visual indication that the row has been removed, as well as an Undo button.

<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server">
    <MasterTableViewEditMode="Batch">
        <BatchEditingSettings HighlightDeletedRows="true" />

If you need an event, you can use OnRowDeleted to show a message to the user (e.g., a hidden <div> with a reminder).

See Also

In this article