AccessText conflicts with input bindings containing Alt as a modifier

2 posts, 0 answers
  1. Steve
    Steve avatar
    97 posts
    Member since:
    May 2014

    Posted 03 May 2019 Link to this post

    I did some searching around but couldn't find anything about this, and I surprised it hasn't come up. I have several hotkeys using input bindings, which include "Alt" modifiers. They input bindings do work and run the command they are supposed to, but the access keys also come up. Is there a way I can prevent the ribbon from showing the access text when I also have an input binding which handles it?

    In Excel, for example, you can press Alt+ to do auto sum, and it doesn't show the access text, so it's not like this is how the ribbons are supposed to work.

  2. Vladimir Stoyanov
    Vladimir Stoyanov avatar
    637 posts

    Posted 07 May 2019 Link to this post

    Hello Steve,

    Speaking generally, the RadRibbonView key tips are shown either on PreviewKeyDown, KeyDown or KeyUp  depending on the ActivationMode of the KeyTipService. Since the KeyTipService does not have any knowledge of the InputBindings that are declared, I can suggest implementing some logic that handles the PreviewKeyUp event, when a command bound to an input binding is executed. 

    I am attaching a sample project demonstrating this approach for your reference. Please, check it out and let me know, if you find it helpful.

    I am looking forward to your reply.

    Vladimir Stoyanov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top