Domanda

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?

È stato utile?

Soluzione

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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top