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

item orientation problems in drop down list

3 Answers 26 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jerry
Top achievements
Rank 1
Jerry asked on 09 Aug 2012, 10:53 PM
Hi,


Im having a strange problem with the drop down lists where the items in it are being listed in a horizontal format.

This only happens when i first open the control, after closing the control and re opening it, the items are formatted properly with the items being listed vertically.

I don't know why its only this section that causes the problem and why it only happens once.

This is using silverlight 5 and testing the application using IE9.

Any help would be greatly appreciated.


Thanks

3 Answers, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 10 Aug 2012, 11:19 AM
Hi Jerry,

I tried to reproduce the issue but with no success. Could you provide us with more details on your project like code snippets, customized style templates if the project has any or anything that could be related to the issue?

All the best,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Jerry
Top achievements
Rank 1
answered on 13 Aug 2012, 05:35 AM
Hey Vladi,

Thanks for your reply,

It is killing me not knowing why this problem arises as it is always only the first time when i open the control, the items shows up in a horizontal manner. After closing the drop down and opening it again, the items show in the correct state (vertically).

I have attached the xaml snippet where i have the combo box.


                                <controls:TabComboBox
                                    Grid.Column="1"
                                    Grid.Row="14"
                                    x:Name="OnCallRostersComboBox"
                                    HorizontalAlignment="Left"
                                    IsEnabled="{Binding IsOnCallDropDownEnabled}"
                                    Visibility="{Binding ShowOnCallSelection, FallbackValue=False,TargetNullValue=False, Converter={StaticResource BoolVisibilityConverter}}"
                                    Width="200"
                                    ItemsSource="{Binding OnCallRosters}"
                                    SelectedValue="{Binding Timesheet.OnCallArrangementId, Mode=TwoWay, ValidatesOnDataErrors=True, NotifyOnValidationError=True, ValidatesOnNotifyDataErrors=True, ValidatesOnExceptions=True}"
                                    DisplayMemberPath="OnCallArrangement.Name"
                                    SelectedValuePath="OnCallArrangementId"
                                  />




Thanks again.
0
Vladi
Telerik team
answered on 14 Aug 2012, 02:56 PM
Hi Jerry,

Thank you for sending the additional information. It seems that you are customizing the RadComboBox control somewhere in your project and without a project that can recreate the issue we can not provide you with appropriate assistance.

Could you open a support ticket and send us a runnable  project there that demonstrates the problem? Thanks in advance.

All the best,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ComboBox
Asked by
Jerry
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Jerry
Top achievements
Rank 1
Share this question
or