This is a migrated thread and some comments may be shown as answers.

Treeview CSS not used

2 Answers 76 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
david
Top achievements
Rank 1
david asked on 08 Jan 2013, 03:39 PM
I have this
    <style type="text/css">
 
html .RadTreeView_Default,
html .RadTreeView_Default a.rtIn,
html .RadTreeView_Default .rtEdit .rtIn input {
  font-familyarial !important;
        font-size8pt !important;
        colorred !important;
}
 
    </style>
and my simple tree
    <telerik:RadTreeView ID="RadTreeView1" runat="server" Width="300px"   style="white-space:normal"  
        OnClientNodeExpanded="rtvExplore_OnNodeExpandedCollapsed"
                    OnClientNodeCollapsed="rtvExplore_OnNodeExpandedCollapsed" 
     >
    </telerik:RadTreeView>

but the CSS has no effect on the format?

2 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 09 Jan 2013, 02:07 PM
Hello David,

Try using the styles that you are applying with the following css class selector:
div.RadTreeView_Default,
div.RadTreeView_Default a.rtIn,
div.RadTreeView_Default .rtEdit .rtIn input
{
font-family: arial !important;
        font-size: 8pt !important;
        color: red !important;
}

All the best,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
david
Top achievements
Rank 1
answered on 09 Jan 2013, 03:26 PM
Perfect,

thank you
Tags
TreeView
Asked by
david
Top achievements
Rank 1
Answers by
Kate
Telerik team
david
Top achievements
Rank 1
Share this question
or