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

Using ItemsSource Causes Scroll Bar to Appear on the Bottom of the Drop-Down Menu

1 Answer 38 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Anna Savarin
Top achievements
Rank 1
Anna Savarin asked on 22 Oct 2009, 11:50 PM
Hello,

I'm experiencing an issue with the ComboBox where, if a drop-down has enough items to enable scrolling, the scroll bar appears on the bottom of the menu when it is first expanded.  The SelectedIndex, when set, is highlighted properly, but the scroll bar still appears on the very bottom. 

This only happens when I use the ItemsSource property.  If I specify the ComboBoxItems in XAML, the scroll bar is fine.  If I use Items.Add, the scroll bar works fine but, obviously, my data binding behavior is affected.  How can I force the scroll bar to the top of the menu programmatically?

I've been struggling with this all day.  Any help would be much appreciated.

Thanks in advance,

Anna

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 23 Oct 2009, 08:14 AM
Hello Anna,

Could you please, try with the latest internal build of RadControls for Silverlight? We recently fixed similar problem and I suspect that it is the same as yours:
http://www.telerik.com/account/latest-internal-builds.aspx

Sincerely yours,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
Anna Savarin
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or