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