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

2 posts, 0 answers
  1. Sonu
    Sonu avatar
    1 posts
    Member since:
    Feb 2013

    Posted 08 Oct 2013 Link to this post

    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. 


  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 10 Oct 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top