Dynamic Dropdown width

Thread is closed for posting
1 posts, 0 answers
  1. 296A8C05-A352-45F3-A5F5-E044ED85B119
    296A8C05-A352-45F3-A5F5-E044ED85B119 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

This Code Library is part of the product documentation and subject to the respective product license agreement.