treeview font
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebcontrols' list.


Dan Discenza
how can i chage the font color and size of treeview nodes. i cant seem to
figure this out. i am sure it is simple and i am just missing something
easy. thanks in advance

dan
Reply to this message...
 
    
James Avery
Dan,
Try something like this:

<mytree:treeview runat="server" id="oTree" ChildType="Folder"
SelectedStyle="background:ffffcf;color:black;text-decoration:underline"
DefaultStyle="font-family:Verdana"
HoverStyle="background:ffffff;color:#000080;text-decoration:underline" >

Selected Style is for the selected tree, HoverStyle for hoving over the
node, and Default for normal display.

You can also check out my article here for some more info:
http://www.aspalliance.com/jamesavery/webcontrols/treeviewp1.aspx

James
-----Original Message-----
From: Dan Discenza [mailto:Click here to reveal e-mail address]
Sent: Thursday, June 13, 2002 8:44 AM
To: aspngwebcontrols
Subject: [aspngwebcontrols] treeview font

how can i chage the font color and size of treeview nodes. i cant seem
to figure this out. i am sure it is simple and i am just missing
something easy. thanks in advance

dan

| [aspngwebcontrols] member Click here to reveal e-mail address = YOUR ID |
http://www.asplists.com/asplists/aspngwebcontrols.asp = JOIN/QUIT
Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com