Dynamically set treeview node style properties

  • Thread starter Thread starter michael.neel
  • Start date Start date
M

michael.neel

How do you set a node's style (font, css class, etc) dynamically? This
seemed like it would be simple, but I cannot find an event, method, or
property of a node available at run time that contains the style
information. What I want to do is simply set the css class to "active"
for the active node and any parent nodes, excluding the root node.

This is not a show stopper, I can use the Menu control to get the
functionality I need, since it allows for templates. It just seems
this is something that should be able to be done with the treeview
control as well.
 
Back
Top