set view tree's text style with css

Discussion in 'ASP .Net Web Controls' started by Rea Peleg, Jun 7, 2004.

  1. Rea Peleg

    Rea Peleg Guest

    Hi all
    is it possible to set the text's style in tree view's nodes
    by referring it to a css file?
    Since it is possible to shape nodes text with regular html
    (for example newTreeNode.text = "<B><font face=Arial Size=2>node's
    text</font></B>")
    Is it possible to do this:

    newTreeNode.text = "<font class=TreeView>node's text</font>"

    After defining such a class in the application style sheet??

    Thanks for your attention


    Rea
     
    Rea Peleg, Jun 7, 2004
    #1
    1. Advertisements

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. Stub

    B tree, B+ tree and B* tree

    Stub, Nov 12, 2003, in forum: C Programming
    Replies:
    3
    Views:
    10,586
  2. Aaron Beall
    Replies:
    2
    Views:
    2,250
    Aaron Beall
    Sep 14, 2007
  3. shapper

    Tree View CSS Adapter

    shapper, Nov 8, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    386
    shapper
    Nov 8, 2007
  4. raki
    Replies:
    1
    Views:
    1,381
    Alexey Smirnov
    Jun 24, 2009
  5. Ken Varn
    Replies:
    0
    Views:
    736
    Ken Varn
    Apr 26, 2004
  6. Parthiv Joshi
    Replies:
    1
    Views:
    1,097
    Samuel L Matzen
    Jul 6, 2004
  7. IJ Singh
    Replies:
    0
    Views:
    226
    IJ Singh
    Feb 4, 2005
  8. Himanshu

    Wrapping Text in Tree View Control in ASP.Net

    Himanshu, Mar 3, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    219
    MasterGaurav
    Mar 3, 2005
Loading...