RadToolBar

4 posts, 0 answers
  1. Steve
    Steve avatar
    17 posts
    Member since:
    Mar 2012

    Posted 22 May 2012 Link to this post

    Hi all,

    How to give background color to RadToolBarButton?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 22 May 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Steve
    Steve avatar
    17 posts
    Member since:
    Mar 2012

    Posted 23 May 2012 Link to this post

    Thanks for your effort.
    I tried the code. Actually my problem is that the color is not changing when I hover it.
  5. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 24 May 2012 Link to this post

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