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

RadTree

1 Answer 66 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 10 Dec 2012, 11:44 PM
I've walked through the following code in the debugger and it is indeed marking the nodes as expanded=true.  However, on the page the nodes do not expand.  Does anyone have any suggestions?

private void findAndExpand(RadTreeNode selectedNode)
{
            RadTreeNode parentNode = selectedNode.ParentNode;
 
            while (parentNode != null)
            {
                parentNode.Expanded = true;
                parentNode = parentNode.ParentNode;
            }
}

1 Answer, 1 is accepted

Sort by
0
Kit Cat
Top achievements
Rank 1
answered on 13 Dec 2012, 01:49 PM
Hello David,

Did you review the following articles on how to operate with nodes:

http://www.telerik.com/help/aspnet-ajax/treeview-nodes-working-server.html
http://www.telerik.com/help/aspnet-ajax/treeview-troubleshooting-expanding-nodes.html
Tags
TreeView
Asked by
David
Top achievements
Rank 1
Answers by
Kit Cat
Top achievements
Rank 1
Share this question
or