I would like to set a class for every node that exists on my treeview, so I can change its appearance through CSS only. The TreeNode element is rendered as a table with <td> and <tr> tags. Basically I would like to add "class" attribute to those tags.
So far I wasn't able to do that, because I couldn't find a suitable property on the treenode element. There IS a CssClass property on the whole treeview but that doesn't help me at all. Also I noticed the NodeStyle and SelectedNodeStyle properties on the TreeView element, but that means that I would have to change the appearance programatically, not with CSS.
Anyone got any ideas?
View Complete Post