Question

You're using a buggy control (DataForm) and call CancelEdit() and in some scenarios it doesn't cancel. You pull some of your hear out. How to workaround this?

Was it helpful?

Solution

Call BeginEdit() immediately before you call CancelEdit(). Hooray!

OTHER TIPS

The object binded to your dataForm have to implement IEditableObject. Then the CancelEdit call will work

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top