RadToolBarDropDown client-side problem

2 posts, 0 answers
  1. Man
    Man avatar
    3 posts
    Member since:
    Jun 2008

    Posted 14 Nov 2008 Link to this post

    Hi,

    When I add a button to a RadToolBarDropDown object on the client-side the dropdown menu never resizes. As a result, if the button text is too long then part of it get chopped off. Anyone know how I can get dropdown menu to resize after a button has been added on the client-side?

     

    Thanks

    Man Cheong Liu

     

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 17 Nov 2008 Link to this post

    Hello Man,

    Please use the following javascript code to resize the dropdown width:

    dropDownItem.get_dropDownElement().parentNode.style.width = "120px"

    I hope this helps.

    All the best,
    Yana
    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
Back to Top