Dynamic Dropdown width

Thread is closed for posting
1 posts, 0 answers
  1. Jacob
    Jacob avatar
    21 posts
    Member since:
    Jan 2010

    Posted 21 Jan 2010 Link to this post

    Requirements

    RadControls version

    2009
    .NET version

    3.5
    Visual Studio version

    2008 , 2010
    programming language

    C#
    browser support

    all browsers supported by RadControls


    Dynamic Dropdown width - based on data bound items length.

    When you need to have NoWrap="True" additional scroll bar appears on the bottom.
    To avoid it and make RadComboBox Dropodown expand to fit the longest item in collection I have created this simple code.

    Dynamic Dropdown image
Back to Top