How can I get the value of a cell after it''s record has been deleted from a GridDataBoundGrid? i.e. I have a record FirstName ''Bill'' LastName ''Smith''
The user deletes the record. The RowsDeletedEvent is called--is there some way to know the value deleted was ''Bill''?
ADAdministrator Syncfusion Team August 11, 2005 06:11 PM
In the grid.RowsDeleted, the row is already gone as the delete has already taken place. If you use the grid.RowsDeleting, this occurs before the row is deleted, so you can get at it there.
private void gridDataBoundGrid1_RowsDeleting(object sender, GridRowRangeEventArgs e)
If you really need to know the rows in RowsDeleted, then you can cache them in RowsDeleting and then get them from your cache in RowsDeleted.