This is a migrated thread and some comments may be shown as answers.

Mantaining the expand/collapse state of the control

0 Answers 53 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Mahesh Aloysius
Top achievements
Rank 1
Mahesh Aloysius asked on 10 Mar 2012, 10:16 AM

Hello,

We are working with Telerik TreeListView control to display hierarchical data. We have a tree with upto 3 levels deep and unable to to maintain the expanded/collapsed state everytime we do a rebind. The tree collapses every-time we save the data and rebind the data back to the control. We have looked at options of manually storing the state (expanded/collapsed nodes)  on IsExpandedChanged() and expanding the nodes manually using treeListView.ExpandHierarchyItem(item) after rebind. This doesn’t seem to work as expected.

We also tried the MVVM approach as suggested in the demo but this works only for the first time.

This is an urgent request and any help on this at the earliest would be greatly appriciated.

Thanks,
Mahesh

No answers yet. Maybe you can help?

Tags
TreeListView
Asked by
Mahesh Aloysius
Top achievements
Rank 1
Share this question
or