Frage

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?

War es hilfreich?

Lösung

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

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top