TreeView ExpandMode

3 posts, 0 answers
  1. Allen
    Allen avatar
    23 posts
    Member since:
    Apr 2013

    Posted 11 Nov 2013 Link to this post

    Hi EveryOne,

    I have a question about the TreeView ExpandMode.
    Currently, I set childNode.ExpandMode = TreeNodeExpandMode.WebService;

    After Initialize the tree, and  I click button. In the button event, I set some nodes of the tree expanded = true
    My question is that Will these nodes are expanded or not? 

    Thanks.


  2. Allen
    Allen avatar
    23 posts
    Member since:
    Apr 2013

    Posted 12 Nov 2013 Link to this post

    Does anybody know about that?

    Actually, I Would like to do the following thing. After I click one node, I get RadWindows. The tree is needed to keep the previous states(expanded, selected) and update its image after closing the popup window.

    is it possible? 

    Thank you.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 14 Nov 2013 Link to this post

    Hello,

    Please find in this help article some special cases about expanding the RadTreeView nodes with different expand modes set.

    Regarding your second question - as far as I understand you want to save the node expanded state after post-back. If yes - please review the following help resource showing how you can accomplish it.

    Regards,
    Boyan Dimitrov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top