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

RadToolBar

3 Answers 100 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 22 May 2012, 11:54 AM
Hi all,

How to give background color to RadToolBarButton?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 22 May 2012, 12:12 PM
Hi Steve,

Try setting BackColor property of RadToolbarButton as follows.

ASPX:
<telerik:RadToolBarButton Text="Button1"  runat="server" BackColor="Aqua"></telerik:RadToolBarButton>

Hope this helps.

Thanks,
Princy.
0
Steve
Top achievements
Rank 1
answered on 23 May 2012, 05:56 AM
Thanks for your effort.
I tried the code. Actually my problem is that the color is not changing when I hover it.
0
Princy
Top achievements
Rank 2
answered on 24 May 2012, 01:36 PM
Hi Steve,

Try overriding the default css as follows.

CSS:
<style type="text/css">
 .RadToolBar .rtbItem
  {
    background-color:Red !important;
  }
 .RadToolBar_Default .rtbItemHovered .rtbMid, .RadToolBar_Default .rtbItemHovered .rtbIn
  {
    background-color:Red !important;
    background-image:none  !important;
  }
</style>

Hope this helps.

Thanks,
Princy.
Tags
ToolBar
Asked by
Steve
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Steve
Top achievements
Rank 1
Share this question
or