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

How set hover style all the time

3 Answers 71 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Tajes
Top achievements
Rank 1
Tajes asked on 20 Jun 2011, 12:26 PM
Hello,
I want to set hover style all the time in the buttons of radtoolbar, because in normal style, the button is too much flat and it hasn't border, it seems a label instead of a button.
Can anybody help me?

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 20 Jun 2011, 01:30 PM
Hello Jose,

One suggestion to change the default appearance of RadToolBar button is to create a custom skin which changes the appearance of the default look of ToolBar. Check the following help documentation which explains more about this.

Tutorial: Creating A Custom Skin.

Thanks,
Princy.
0
Tajes
Top achievements
Rank 1
answered on 20 Jun 2011, 02:17 PM
Hello Princy,
  Thank you for your reply, but is there any other way? Because I want to use Office2007 skin, only changing the default style of buttons by the hover style. It is so much work to implenent a new whole skin only for change this little thing.

Thanks anyway
0
Accepted
Kate
Telerik team
answered on 22 Jun 2011, 04:53 PM
Hi Tajes,

You could use the OuterCssClass property of the RadToolBarButton and set the desired class css class as demonstrated below:
<telerik:RadToolBar ID="RadToolBar1" runat="server" >
          <Items>
              <telerik:RadToolBarButton runat="server" Text="Button 0" OuterCssClass="rtbItemFocused" >
              </telerik:RadToolBarButton>
              <telerik:RadToolBarButton runat="server" Text="Button 1" OuterCssClass="rtbItemClicked">
              </telerik:RadToolBarButton>
             
          </Items>
      </telerik:RadToolBar>

Kind regards,
Kate
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
ToolBar
Asked by
Tajes
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Tajes
Top achievements
Rank 1
Kate
Telerik team
Share this question
or