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. 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. Samridhi Kumar Shukla

    How To Create The Asp.net Tree View Control(Sam)

    Samridhi Kumar Shukla, Nov 21, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    560
    Alvin Bruney
    Nov 23, 2003
  2. Santosh
    Replies:
    4
    Views:
    3,870
    Santosh
    Aug 5, 2006
  3. Santosh
    Replies:
    0
    Views:
    539
    Santosh
    Jul 25, 2006
  4. raki
    Replies:
    1
    Views:
    1,370
    Alexey Smirnov
    Jun 24, 2009
  5. mttc
    Replies:
    2
    Views:
    2,677
    Roedy Green
    Jul 3, 2009
  6. Santosh

    How to bind data to asp.net tree view control

    Santosh, Jun 14, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    215
    Bhuva
    Jun 19, 2006
  7. Jay Douglas
    Replies:
    0
    Views:
    248
    Jay Douglas
    Nov 2, 2003
  8. Parthiv Joshi
    Replies:
    1
    Views:
    1,085
    Samuel L Matzen
    Jul 6, 2004
Loading...