Simple: Background of ToolbarItem with skin

3 posts, 1 answers
  1. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 27 Nov 2010 Link to this post

    Hi!

    I have a Toolbar and i need to set it's item's background color to #1C1C1C. The toolbar has the "Black" skin applied. The toolbar's background is transparent and item's images are transparent as well. So, I nee to match an item's backcolor. See images for clarification.
  2. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 28 Nov 2010 Link to this post

    Kindly help.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 29 Nov 2010 Link to this post

    Hello Hassan,

    You can set the items BackColor either by setting the BackColor property of the desired item or by setting the CSS class for the item.

    aspx:
    <telerik:RadToolBarButton Text="Load" BackColor="#1C1C1C">
    </telerik:RadToolBarButton>
     <telerik:RadToolBarButton CssClass="blueGroup" Text="Cut">
    </telerik:RadToolBarButton>

    CSS:
    .blueGroup
            {
                background-color: #1C1C1C!important;
            }

    Thanks,
    Princy.
Back to Top