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

TreeView ExpandMode

2 Answers 46 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Allen
Top achievements
Rank 1
Allen asked on 11 Nov 2013, 11:11 PM
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 Answers, 1 is accepted

Sort by
0
Allen
Top achievements
Rank 1
answered on 12 Nov 2013, 03:58 PM
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.
0
Boyan Dimitrov
Telerik team
answered on 14 Nov 2013, 03:36 PM
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.
Tags
TreeView
Asked by
Allen
Top achievements
Rank 1
Answers by
Allen
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or