Asp.Net MS IE tree view control font changing problem

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

  1. Santosh

    Santosh Guest

    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 26, 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,686
    Santosh
    Aug 5, 2006
  2. Santosh
    Replies:
    0
    Views:
    452
    Santosh
    Jul 25, 2006
  3. raki
    Replies:
    1
    Views:
    1,133
    Alexey Smirnov
    Jun 24, 2009
  4. mttc
    Replies:
    2
    Views:
    2,382
    Roedy Green
    Jul 3, 2009
  5. Jay Douglas
    Replies:
    0
    Views:
    147
    Jay Douglas
    Nov 2, 2003
Loading...

Share This Page