Resize the drop down

3 posts, 1 answers
  1. Anly
    Anly avatar
    14 posts
    Member since:
    Feb 2013

    Posted 14 Feb 2013 Link to this post

    Hi,

    I am populating the RadAutoCompleteBox drop-down dynamically that returns a huge amount of items. This seems too large to fit on the screen. So I would like to limit the size of drop-down like adding a scrollbar to the list.

    Please help,
    Anly.
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 14 Feb 2013 Link to this post

    Hi Anly,

    Try overriding the default CSS with the following to set a max height to the drop-down list of RadAutoCompleteBox.

    CSS:
    <style type="text/css">
        .RadAutoCompleteBoxPopup_Default, .RadAutoCompleteBoxPopup .racList
        {
            max-height: 100px !important;
        }
    </style>

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Anly
    Anly avatar
    14 posts
    Member since:
    Feb 2013

    Posted 15 Feb 2013 Link to this post

    Thanks Princy. This works fine for me.
Back to Top