TreeView Node Styles

Discussion in 'ASP .Net Web Controls' started by ZZ_Scarab, Sep 8, 2007.

  1. ZZ_Scarab

    ZZ_Scarab Guest

    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?

    Thanks.
     
    ZZ_Scarab, Sep 8, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. wolf
    Replies:
    0
    Views:
    578
  2. Replies:
    0
    Views:
    1,670
  3. Tjerk Wolterink
    Replies:
    2
    Views:
    1,521
    Dimitre Novatchev
    Aug 24, 2006
  4. jiing
    Replies:
    0
    Views:
    2,427
    jiing
    Apr 27, 2007
  5. Homer J. Simpson

    TreeView node style - for an individual node

    Homer J. Simpson, Jul 23, 2007, in forum: ASP .Net
    Replies:
    5
    Views:
    8,985
    Homer J. Simpson
    Jul 24, 2007
Loading...

Share This Page