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

DropDownButton with RadContextmenu and keyhandling

1 Answer 38 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Ronald
Top achievements
Rank 1
Ronald asked on 07 Feb 2012, 11:13 AM
Hi,

I am using a DropDownbutton with a RadContextmenu. When using Accesskey on the RibbonView/DropDownbutton/RadContextmenu. De access keys don't show on the submenu of the RadContextmenu. A made a sample to demonstrate this:

<Window x:Class="WpfRibbonMenuKeys.MainWindow"
        Title="MainWindow" Height="350" Width="525" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid>
        <telerik:RadRibbonView Name="radRibbonView1" VerticalAlignment="Top" telerik:KeyTipService.IsKeyTipsEnabled="True">
            <telerik:RadRibbonTab Header="RibbonTab"  telerik:KeyTipService.AccessText="H">
                <telerik:RadRibbonGroup Header="SomeGroup" telerik:ScreenTip.Title="SomeGroup" DialogLauncherVisibility="Collapsed" >
                    <telerik:RadRibbonDropDownButton Text="DropDown"
                                                     Size="Large"
                                                     telerik:KeyTipService.AccessText="S">
                        <telerik:RadRibbonDropDownButton.DropDownContent>
                            <telerik:RadContextMenu >
                                <telerik:RadMenuItem Header="Test1" telerik:KeyTipService.AccessText="1"/>
                                <telerik:RadMenuItem Header="Test2" telerik:KeyTipService.AccessText="2">
                                    <telerik:RadMenuItem Header="Test2.1" telerik:KeyTipService.AccessText="21"/>
                                    <telerik:RadMenuItem Header="Test2.2" telerik:KeyTipService.AccessText="22"/>
                                    <telerik:RadMenuItem Header="Test2.3" telerik:KeyTipService.AccessText="23"/>
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Header="Test3" telerik:KeyTipService.AccessText="3"/>
                            </telerik:RadContextMenu>
                        </telerik:RadRibbonDropDownButton.DropDownContent>
                    </telerik:RadRibbonDropDownButton>
                </telerik:RadRibbonGroup>
            </telerik:RadRibbonTab>
        </telerik:RadRibbonView>
    </Grid>
</Window>

The menuitems Test2.1, Test 2.2 and Test 2.3 don't show access keys. Also when having used access keys, it is not possible to use the arrow keys to navigate through the contextmenu. So when using Alt-H-S-2, in the sample, the submenu is opened, but further keyhandling is not respected.

Regards,
Ronald

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 10 Feb 2012, 09:10 AM
Hi Ronald,

Thank you for bringing this issue to our attention. I logged it in our PITS where you can track its progress (the item is logged both for WPF and Silverlight even though in PITS the product says only Silverlight). I also updated your Telerik account accordingly.

Please accept our apology for this inconvenience.

All the best,
Tina Stancheva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
RibbonView and RibbonWindow
Asked by
Ronald
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or