You could achieve this easily by using the CollapseAll method from the tree view and then, on the clicked node you could do thisNode.Expanded = true, and recursively do this for all the parents he has using the Parent property. For instance,
youTree.CollapseAll();
.. on the event
TreeNode currentNode = nodeFromEvent;
while(currentNode != null)
{
currentNode.Expanded = true;
currentNode = currentNode.Parent;
}
______________________ Dominic Goulet FroggedSoft My blog