TreeView Node Styles



I'm trying to apply different styles to the different node levels in my
treeview, specifically to the root node, parent nodes and leafs, in addition
to the selected node. Some styles changes are "taking" and many are not.
Specifically, for instance, I'm setting the selected node style to bold, and
setting parent level to a larger point size than the leaf level, which both
work fine. However, when I try to set the root node, parent level and leaf
level to different colors, none of the color changes apply at runtime even
though I can see them at design time. I'm not making an changes
programmatically, and at this time, have no events assigned. I do have a CSS
file and a SKIN file, but neither of them contain any TreeView-related
settings, and I have no LevelStyles set. Interestingly, my general font
family in the Theme file is set to the color Navy, which is the color that my
treeview displays as at runtime. One last thing, I also tried copying the
HTML for the TreeView from the page to the SKIN file, but no change.

Am I missing something?


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

Latest member

Latest Threads