Dynamically set treeview node style properties

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,061
Latest member
KetonaraKeto

Latest Threads

Top