What is the best way to change the CSS of the selected and Parent nodes in a tree? Basically I want to mark the path to the current selected node in the tree by either making it Bold or setting it do a different font color.
I had to do something similar (except I was modifying the expanded state). I ended up creating a recursive Javascript function that walked its way up the tree and modified each node.
Thanks Stefan, that does work but since I am doing a post back with the tree view the post back resets the css changes. is there a way to do this in C# in the NodeClick event?