Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > ComboBox > Dynamic Dropdown width

Not answered Dynamic Dropdown width

Feed from this thread
  • Jacob avatar

    Posted on Jan 21, 2010 (permalink)

    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
    Attached files

Back to Top

Skip Navigation LinksHome / Community & Support / Code Library / ASP.NET and ASP.NET AJAX > ComboBox > Dynamic Dropdown width