I can't seem to set focus to or tab to the the radmenu control. I've turned on IsTabStop for the UserControl, the menu, and the menuitems but I can't tab to the menu. I can only seem to access it via the mouse. Once I click on a menu with sub menus I can navigate the menu using the keyboard but only if I keep the mouse over the menu. I've also had no luck trying to setfocus from code.
Is there any to do this via the keyboard or to set focus programatically so that users can use the key to navigate the menu.
Thanks, Mike
5 Answers, 1 is accepted
I am afraid that this is not supported by RadMenu. I have added your request in our Public Issue Tracking System (PITS). You can view it here. You can vote for it, track its status and see when it is going to be implemented.
All the best,
Konstantina
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
Hi Konstantina,
i have the same problem as Mike. Is there any news about his request? I cant find the ticket you linked.
Thanks,
Hans
The observed behavior of RadMenu is an expected one. It is designed that way due to some limitations of the Silvelright framework. The problem is that the framework does not support FocusScopes features. Navigation is only supported when you are over RadMenuItem. The supported keys are all arrows, Enter key and Escape key.
Hopes the provided information will help you.
Regards,
Nasko
Telerik
Hi Nasko,
thanks for your Response. Its very frustrating for our users to navigate to the radmenu only by mouse.
They have to fill out hundreds of rows containing addresses, names, ages etc.
The view is easy to control because tabbing works fine in each column except
the last one with radmenu in it. Isnt there a possibility to tab to the radmenuitem
by code when the previous control looses focus? It would be a big improvement for our
users to get it work.
Greetings
Hans H.
We made a further investigation and came up with the following workaround. You could handle the GotFocus event of the Menu control and inside it get the current RadMenuItem and set its IsCurrent property to true - thus the navigation should work as expected. We have created a sample project that demonstrates the described above approach and you could run and evaluate it. Please, check also the attached video that demonstrates how the approach works on our side.
Hopes this helps.
Regards,
Nasko
Telerik