Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2549
xamDataPresenter does not refresh when changing items in the DataSource
posted

Hi all,
unfotunately I can not figure out how to get my xamDataPresenter refreshing its view when an item in the DataSource changes.

I bound a BindingList (private field loaded by the class constructor) to the DataSource and then change an items caption for example.
I thought that would refresh the view automatically.

If I remove or add from/to the BindingList then the DataPresenter reflects the change immediately.

The only way I can update the DataPresenter is to set its DataSource to NULL and then back to the originally BindingList (the same as it was before).

I also tried calling the UpdateLayout() method of the DataPresenter... no luck though.

Any hints on this?

have a great day
Andy