
March 9th, 2004, 02:49 PM
|
|
Registered User
|
|
Join Date: Jan 2004
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Capture Datagrid Delete Event
I have a datagrid in which I have a delete button - when clicks it asks the user for delete confirmation and does some other validation checks. This works fine and all is well. BUT, if a user clicks on the entire row in the datagrid they can delete the row and bypass my column style event and validation. What event can I capture or how can I disable the user from highlighting a row and hitting delete? Note: Cannot set the datagrid to readonly because the users are allowed to modify a few columns and this is for a WinForms App.
Thanks!
|