Toolbarbutton problem

5 posts, 2 answers
  1. Het
    Het avatar
    31 posts
    Member since:
    Jun 2008

    Posted 04 Aug 2008 Link to this post

    Support,

    How can I get control over the size of the Toolbarbutton ? Below code is not working it seems. Whatever font size I give, it is not changing.

    <telerik:RadToolBar ID="RadToolBar1" Runat="server" Skin="Office2007"

    Width="100px" Font-Size="Smaller">

    <

    CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

    <Items>

    <telerik:RadToolBarSplitButton runat="server"

    Text="SplitButton 0" ImagePosition="Right" Width="100%">

    <Buttons>

    <telerik:RadToolBarButton runat="server" Text="a" >

    </telerik:RadToolBarButton>

    <telerik:RadToolBarButton runat="server" Text="abc" >

    </telerik:RadToolBarButton>

    <telerik:RadToolBarButton runat="server" Text="abcdef" >

    </telerik:RadToolBarButton>

    <telerik:RadToolBarButton runat="server" Text="abcdefgh" >

    </telerik:RadToolBarButton>

    </Buttons>

    </telerik:RadToolBarSplitButton>

    </Items>

    </telerik:RadToolBar>


    Also, if you see the code, space after the down arrow (one used to expand the button) is more, can we have this down-arrow at the end ?
    And, Can I reduce the size of the rad toolbar button ? Which is not in the code but it is not working if I give Style="height:90%".

    Thanks in advance for your help.

     

  2. Answer
    Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 07 Aug 2008 Link to this post

    Hi Het,

    I am attaching a page that fixes the problems you describe. The font size can be controlled using the first CSS rule.

    Kind regards,
    Alex
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Het
    Het avatar
    31 posts
    Member since:
    Jun 2008

    Posted 08 Aug 2008 Link to this post

    Thanks for the reply and help.

    Also, on the same line, is it possible to keep the icon which appears immediately after the text to the extreme right, as for current implementation element which is displayed is of length 1 and longest element has length of around 7.

    Thanks again for the code.
  5. Answer
    Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 11 Aug 2008 Link to this post

    Hello Het,

    Unfortunately, this functionality is not part of RadToolBar for ASP.NET AJAX.

    Nevertheless, you can control the width of the split buttons using the following CSS declaration:
    div.RadToolBar_Office2007 .rtbSplBtn .rtbSplBtnActivator 
        width82px

    Sincerely yours,
    Alex
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Het
    Het avatar
    31 posts
    Member since:
    Jun 2008

    Posted 11 Aug 2008 Link to this post

    Thanks Alex for your Help on this !
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017