CSS of text on DropDownTree

2 posts, 0 answers
  1. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 01 Oct 2014 Link to this post

    Hi All,

    As this control shares the design of the RadTreeView I have found that if I change the color of the text on that via CSS I also end up changing the CSS of all the text on the Drop down Trees.

    I am using .RadTreeView_Black to access the normal TreeView.  What CSS should I also use to access the drop down TreeView text,  I have tried things like .rddtPopup_Black .RadTreeView .RadTreeView_Black span with no luck.,

    Regards

    Jon
  2. Magdalena
    Admin
    Magdalena avatar
    421 posts

    Posted 06 Oct 2014 Link to this post

    Hello Jon,

    If you would like to change the color of the radDropDownTreeView, please apply the following CSS
    html .rddtPopup_Black .RadTreeView {
        color: red;
    }

    The TreeView in the RadDropDownTree is an RadTreeView control. This is the reason why the selector RadTreeView affects also to the dropDownTree control. If you would like to stylize only the RadTreeView, you can set the property "CssClass" and use it in a selector as the following

    aspx:
    <telerik:RadTreeView runat="server" CssClass="CustomClass">

    CSS:
    .RadTreeView.CustomClass {
        color: red;
    }


    Regards,
    Magdalena
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top