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


    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?



    Man Cheong Liu


  2. Yana
    Yana avatar
    4604 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,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top