DetailsView - how to capture the click event on Edit and Cancel command?

K

K B

I have a DetailsView grid, I would like to perform some action (e.g.,
return to another control), when the user clicks on the Cancel button.
How can I capture this event?

Thanks,
Kit
 
C

Christopher Reed

Look at the ModeChanging event in conjunction with the CancelingEdit
property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top