RadTreeView Expand Nodes

2 posts, 0 answers
  1. Ali Akbar
    Ali Akbar avatar
    22 posts
    Member since:
    Aug 2009

    Posted 20 Nov 2009 Link to this post

    Scenario: I have added nodes in the treeview by using the designer and wanted to keep the nodes in expanded mode once it makes a postback after the node is clicke. Could you please help me how well i could achieve the desire stuff.


    Explanation: When the treeview makes a postback with nodeclick event the nodes in the treeview is collapsing. Please help me in keeping them expanded.





    Regards,
    Ali
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 20 Nov 2009 Link to this post

    Hi Ali Akbar,

    I tried the scenario and RadTreeView (RadControls Version 2009, 3, 1103, 35) keeps the expanded state even after postback. Probably the following code library will be of help if you are using old version of RadControls.
    Save the expanded state of the TreeNodes when the treeview is being bound upon each postback

    -Shinu.
Back to Top