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

Up/Down arrow key do not work with disable items in RadDropDownButton

1 Answer 53 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sonu
Top achievements
Rank 1
Sonu asked on 08 Oct 2013, 05:56 AM
Hi,

I am using RadDropDownButton to add some actions to the RadDropDownButton, Up/Down keys do work fine if all items in drop down are enable but if there is any disable item in to list then up/down arrow key does not work any more. So please let me know,Does RadDropDownButton behaves like that or I missed something, as per expectation it should be work like that, when there is any disable item into list than focus should be on very next enable item. 


<telerik:RadDropDownButton x:Name="moreDropDownButton" Style="{StaticResource ToolbarDropDownButton}">
                <telerik:RadDropDownButton.Content>
                    <StackPanel Orientation="Horizontal">
                        <Image Source="{Binding Converter={StaticResource IconPathConverter}, 
                                ConverterParameter=additional-actions.png}" 
                                   Style="{StaticResource ButtonImage}"/>
                        <TextBlock Text="{Binding Localizer[IA.UIElements.AdminPageToolbar.AdditionalAction], Source={StaticResource Localizations}}" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </telerik:RadDropDownButton.Content>
                <telerik:RadDropDownButton.DropDownContent>
                    <telerikNavigation:RadContextMenu x:Name="dropdownItemsControl" ItemsSource="{Binding ItemsSource, Converter={StaticResource DropdownButtonFilter}}" />
                </telerik:RadDropDownButton.DropDownContent>
            </telerik:RadDropDownButton>

Below is the xaml of control :

<telerik:RadDropDownButton x:Name="moreDropDownButton" Style="{StaticResource ToolbarDropDownButton}">
                <telerik:RadDropDownButton.Content>
                    <StackPanel Orientation="Horizontal">
                        <Image Source="{Binding Converter={StaticResource IconPathConverter}, 
                                ConverterParameter=additional-actions.png}" 
                                   Style="{StaticResource ButtonImage}"/>
                        <TextBlock Text="{Binding Localizer[IA.UIElements.AdminPageToolbar.AdditionalAction], Source={StaticResource Localizations}}" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </telerik:RadDropDownButton.Content>
                <telerik:RadDropDownButton.DropDownContent>
                    <telerikNavigation:RadContextMenu x:Name="dropdownItemsControl" ItemsSource="{Binding ItemsSource, Converter={StaticResource DropdownButtonFilter}}" />
                </telerik:RadDropDownButton.DropDownContent>
            </telerik:RadDropDownButton>

thanks in advance for help. 


1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 10 Oct 2013, 01:23 PM
Hi Sonu,

I tried to reproduce the reported behavior on our side with our latest official release Q2 2013 SP and it seems that the code works as expected.

Please take a look at the attached project and let me know if I missed something.

Regards,
Pavel R. Pavlov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ComboBox
Asked by
Sonu
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or