Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Asp.Net MS IE tree view control font changing problem

Reply
Thread Tools

Asp.Net MS IE tree view control font changing problem

 
 
Santosh
Guest
Posts: n/a
 
      07-26-2006


Dear all i am downloading MS tree view control . i want to change the
font size and font name of the tree view control i am wrtitting code
for it like


if (!Page.IsPostBack)
{
treeview1.FontBold = true;
treeview1.Font.Name = "DVB-TTSurekh";
treeview1.FontSize = Font.FontUnit(14);



}


i have also tried
<iewc:treeview id="TreeView1" runat="server" SelectExpands="True"
Height="600px" ShowLines="False"
OnSelectedIndexChange="TreeViewSelectionChange" AutoPostBack="True"
DefaultStyle=FontFamilyVB-TTSurekh; Font-Weight: bold;
color:Yellow></iewc:treeview></P>

but the code is not working can any one tell me what is the problem
with in it . how i can change the font size and font name of treeview
control .

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Swing Font, it's Java Font? ot native? how install new font? mttc Java 2 07-03-2009 07:29 PM
Asp.Net tree view control font problem Santosh ASP .Net 4 08-05-2006 07:16 AM
Asp.Net tree view control font problem Santosh ASP .Net 0 07-25-2006 05:09 AM
B tree, B+ tree and B* tree Stub C Programming 3 11-12-2003 01:51 PM
Web Control Library - Displaying Font Properties in a tree view form. Jay Douglas ASP .Net Web Controls 0 11-02-2003 07:38 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57