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

Radmenu Setfocus

5 Answers 58 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 22 Aug 2011, 05:18 PM
I'm using Silverlight Radmenu and am running into the folllowing problem:

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

Sort by
0
Konstantina
Telerik team
answered on 26 Aug 2011, 08:16 AM
Hi Mike,

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 >>

0
Hans
Top achievements
Rank 1
answered on 12 May 2015, 09:31 AM

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

0
Nasko
Telerik team
answered on 14 May 2015, 07:48 AM
Hello 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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Hans
Top achievements
Rank 1
answered on 15 May 2015, 06:17 AM

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.

0
Nasko
Telerik team
answered on 15 May 2015, 12:11 PM
Hello Mike,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Menu
Asked by
Mike
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Hans
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or