This is a migrated thread and some comments may be shown as answers.

Record Deletion Event

1 Answer 48 Views
GridView
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 21 Apr 2012, 04:12 AM
What event is fired when a user deletes a record in the gridview?  I want to ask the user to confirm the record deletion before the record is removed from the database.  Give sample code to show how I might be able to do this with the event.


Thanks.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 21 Apr 2012, 03:15 PM
Hello James,

Thank you for writing.

For this purpose you can use the UserDeletingRow event of RadGridView, which is cancelable and you can prevent the deletion. 

I hope this helps.

Kind regards,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
James
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or