Radmenu Setfocus

6 posts, 0 answers
  1. Mike
    Mike avatar
    8 posts
    Member since:
    Feb 2011

    Posted 22 Aug 2011 Link to this post

    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
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 26 Aug 2011 Link to this post

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

  3. DevCraft banner
  4. Hans
    Hans avatar
    6 posts
    Member since:
    May 2011

    Posted 12 May 2015 in reply to Konstantina Link to this post

    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

  5. Nasko
    Admin
    Nasko avatar
    588 posts

    Posted 14 May 2015 Link to this post

    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
  6. Hans
    Hans avatar
    6 posts
    Member since:
    May 2011

    Posted 15 May 2015 in reply to Nasko Link to this post

    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.

  7. Nasko
    Admin
    Nasko avatar
    588 posts

    Posted 15 May 2015 Link to this post

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