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

[Solved] Combobox scrolling

2 Answers 157 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Meerkat
Top achievements
Rank 1
Meerkat asked on 17 Jul 2008, 06:49 PM

Hello,
Thanks to your help, your new combobox is now almost working in my project.
I have one tiny problem though. I have about 100 items to view so I thought I would just add a scrollbar with the following

<

telerik:RadComboBox x:Name="ddlCounty" scrollViewer.VerticalScrollBarVisibility="Auto" />

Sadly, the above line gives the following error
unknown attribute ScrollViewer.VerticalScrollBarVisibility on element RadComboBox

I am sure I have just done something wrong and there is another way of enabling scrolling.

Can someone please help me with this ?

Regards,
Pete.

2 Answers, 1 is accepted

Sort by
0
Accepted
Valeri Hristov
Telerik team
answered on 19 Jul 2008, 03:06 PM
Hello Pete,

If I am right, setting the MaxDropDownHeight property of RadComboBox will fix your problem:
<telerik:RadComboBox MaxDropDownHeight="300" />

In the latest CTP this property was initially set to double.PositiveInfinity, which effectively prevents the scrollbars from showing. The upcoming beta will contain a reasonable default value for that property.

Regards,
Valeri Hristov (Silverlight Team)
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Meerkat
Top achievements
Rank 1
answered on 20 Jul 2008, 07:47 AM
That was the answer!
Thanks Valeri,

Regards,
Pete.
Tags
General Discussions
Asked by
Meerkat
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Meerkat
Top achievements
Rank 1
Share this question
or