Button width is ignored in RibbonBar

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    14 posts
    Member since:
    Mar 2012

    Posted 21 Sep 2012 Link to this post


    Hope someone can help me out real quick.

    My problem is, that I have published our solution to our test server, and on the server the button width seems to be ignored.
    The funny thing is, that if I view source in the browser the width (80px) is there, but the actual button width just follows the button text. It works fine my local machine. Dll's are the same version local and on server.


  2. Ivan Zhekov
    Ivan Zhekov avatar
    649 posts

    Posted 21 Sep 2012 Link to this post

    Hi, Thomas.

    Per design, the button width of the Ribbon should be automatic. Never the less it is still possible to set the width to a button via the width attribute.

    However, during resizing that width may cause issues, as there are certain assumption in the resizing code to speedup the process.

    I suggest that you do not force width of the RibbonBar items.

    All the best,
    Ivan Zhekov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top