Mantaining the expand/collapse state of the control

1 posts, 0 answers
  1. Mahesh Aloysius
    Mahesh Aloysius avatar
    1 posts
    Member since:
    Feb 2010

    Posted 10 Mar 2012 Link to this post


    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.


Back to Top