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

Setting max items in list

2 Answers 57 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 07 Jan 2008, 12:34 PM

Hello,

I have the following problem, but didn't found a method or propertie to solve this.

I have a combobox that is 'filled' with databinding.
There are about +100 names that goes in the ComboBox, so when i open the list, the list is very long. (even goes out of the screen)
Is there a way to get a scrollbar in the list (like in a standard dropdownlist)?

Thanks

2 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 07 Jan 2008, 01:38 PM
Hello Marco,

I suggest that you set height to the combobox object using the RadComboBox' Height property. Thus, a vertical scrollbar will appear as soon as the overall height of the items exceeds the predefined height set to the Height property of the control.

Hope this helps.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Marco
Top achievements
Rank 1
answered on 08 Jan 2008, 09:31 AM
Yep, that works.

Thank you.
Tags
ComboBox
Asked by
Marco
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Marco
Top achievements
Rank 1
Share this question
or