Hi
We have a RadTreeView registered as below:
<radT:RadTreeView ID="cRadTreeView" EnableViewState="true" style="Z-INDEX:999" Runat="server" BeforeClientClick="BeforeClickHandler" Checkboxes="true" DragAndDrop="true"></radT:RadTreeView>
I've been trying to put a fix in place to stop the tree refreshing back to the top after a Node has expanded. I am registering the NodeExpand event in the OnInit of the page and that event carries out the following code, is there a way for the tree to switch focus to the node that was previously expanded?
Guid expandedNodeID = new Guid(e.NodeClicked.Value); this.DataSource.ExpandNode(expandedNodeID); RadTreeNode node = this.GetTree(this.DataSource[expandedNodeID]); if(node.Nodes.Count > 0) { foreach(RadTreeNode child in node.Nodes) { e.NodeClicked.AddNode(child); } } e.NodeClicked.ExpandMode = ExpandMode.ClientSide;