Thanks for the quick response! The DataLoad event worked just fine to expand the tree, I actually referred to how to re-expand the tree if the datasource was reloaded with a different set of data. Please find the attached modification of your example. In the example, you will see "Refresh Data" button, which will fetch a different tree-like data (GetClubs2). Because the DataLoaded event was removed after the data was loaded, the event won't be fired again. I tried to take keep this event, but error occurred when the entire datasource was updated.
void RadTreeListView1_DataLoaded(object sender, EventArgs e)
this.RadTreeListView1.DataLoaded -= new EventHandler<EventArgs>(RadTreeListView1_DataLoaded);
My question is how to re-trigger this event, if the data model is
updated. I have a RoutedCommand that will update the datasource in the
VM, and not using the codebehind as I did in the example.
Thanks for helping!