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

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top