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

Simple: Background of ToolbarItem with skin

2 Answers 93 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
DoomerDGR8 asked on 27 Nov 2010, 03:55 PM
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 Answers, 1 is accepted

Sort by
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
answered on 28 Nov 2010, 01:39 PM
Kindly help.
0
Accepted
Princy
Top achievements
Rank 2
answered on 29 Nov 2010, 01:06 PM
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.
Tags
ToolBar
Asked by
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
Princy
Top achievements
Rank 2
Share this question
or