silverlight dataform from 2010 toolkit: cancel edit not working in all scenarios

StackOverflow https://stackoverflow.com/questions/11162285

  •  16-06-2021
  •  | 
  •  

質問

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?

役に立ちましたか?

解決

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

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top