This is a migrated thread and some comments may be shown as answers.

Resize the drop down

2 Answers 121 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Anly
Top achievements
Rank 1
Anly asked on 15 Feb 2013, 02:31 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 15 Feb 2013, 04:04 AM
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.
0
Anly
Top achievements
Rank 1
answered on 15 Feb 2013, 04:15 PM
Thanks Princy. This works fine for me.
Tags
AutoCompleteBox
Asked by
Anly
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Anly
Top achievements
Rank 1
Share this question
or