This question is locked. New answers and comments are not allowed.
Good morning,
I've succesfully managed to build a databound, hierarchical combination of a RadBreadCrumb and a RadTreeView, both are bound to the same data structure. When I make changes to the property of an item (e.g. set its state to "Error" so that it shows a warning icon), they are instantly updated in both controls. Nice.
In real life, the data will intermittently be sent in from a webservice. Therefore, I need to dynamically add and remove items to or from the data structure, so that changes will be shown instantly. I thought that would be achieved by using an ObservableCollection as datasource, which it is. It seems that I am missing something important. I made a sample application that shows the problem - can somebody tell me how I can add or remove items by clicking the button?
I uploaded the zipped project here.
Thanks alot!
Cheers,
Robert
I've succesfully managed to build a databound, hierarchical combination of a RadBreadCrumb and a RadTreeView, both are bound to the same data structure. When I make changes to the property of an item (e.g. set its state to "Error" so that it shows a warning icon), they are instantly updated in both controls. Nice.
In real life, the data will intermittently be sent in from a webservice. Therefore, I need to dynamically add and remove items to or from the data structure, so that changes will be shown instantly. I thought that would be achieved by using an ObservableCollection as datasource, which it is. It seems that I am missing something important. I made a sample application that shows the problem - can somebody tell me how I can add or remove items by clicking the button?
I uploaded the zipped project here.
Thanks alot!
Cheers,
Robert