Disabled Node Font Color

2 posts, 1 answers
  1. Vincent Yau
    Vincent Yau avatar
    5 posts
    Member since:
    Jul 2009

    Posted 13 Aug 2009 Link to this post

    <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
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 13 Aug 2009 Link to this post

    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.
Back to Top