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

Disabled Node Font Color

1 Answer 105 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Vincent Yau
Top achievements
Rank 1
Vincent Yau asked on 13 Aug 2009, 08:39 AM
<style type="text/css">
    .FontBlack
    {
        color: black !important;
    }
</style>

<telerik:RadTreeView ID="RadTreeView1" runat="server" Skin="Vista">
<telerik:RadTreeNode Text="a" Enabled="false" DisabledCssClass="FontBlack" >
                                                                    </telerik:RadTreeNode>

I want to display this node with Black font.

Thanks,
Vincent

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 13 Aug 2009, 10:49 AM
Hi Vincent,

Try adding following CSS in order to show disabled node black in color.

CSS:
 
<style type="text/css"
.RadTreeView_Default .rtDisabled .rtIn 
    colorblack !important; 
</style> 
Note: Change the Default to SkinName that you are using (if any).

-Shinu.
Tags
TreeView
Asked by
Vincent Yau
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or