Asp.Net tree view control font problem

Discussion in 'ASP .Net' started by Santosh, Jul 25, 2006.

  1. Santosh

    Santosh Guest

    Asp.Net tree view control font problem

    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=FontFamily:DVB-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 .
     
    Santosh, Jul 25, 2006
    #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. Santosh
    Replies:
    4
    Views:
    3,698
    Santosh
    Aug 5, 2006
  2. Santosh
    Replies:
    0
    Views:
    482
    Santosh
    Jul 26, 2006
  3. raki
    Replies:
    1
    Views:
    1,168
    Alexey Smirnov
    Jun 24, 2009
  4. mttc
    Replies:
    2
    Views:
    2,424
    Roedy Green
    Jul 3, 2009
  5. Jay Douglas
    Replies:
    0
    Views:
    152
    Jay Douglas
    Nov 2, 2003
Loading...

Share This Page