How set hover style all the time

4 posts, 1 answers
  1. Tajes
    Tajes avatar
    7 posts
    Member since:
    May 2011

    Posted 20 Jun 2011 Link to this post

    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.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 20 Jun 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tajes
    Tajes avatar
    7 posts
    Member since:
    May 2011

    Posted 20 Jun 2011 Link to this post

    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
  5. Answer
    Kate
    Admin
    Kate avatar
    1898 posts

    Posted 22 Jun 2011 Link to this post

    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.

Back to Top