UseMnemonic on DropDownButton

2 posts, 0 answers
  1. Ga Que
    Ga Que avatar
    1 posts
    Member since:
    Sep 2012

    Posted 05 Sep 2012 Link to this post

    Hi Telerik team,

    I added a CommandBarDropDownButton to a CommandBar. Then I set properties of the button like following:
    DrawText = True
    Text = &New
    UseMnemonic = True
    However, the N character was not underlined and nothing happened when Alt + N pressed. How to solve this?

  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 10 Sep 2012 Link to this post

    Hello Ga Que,

    Thank you for contacting us.

    It appears that this is an issue in the internal mnemonic processing. I have logged it in our Public Issue Tracking System and we will address it in a future release. Here you can find the PITS item:

    For the time being, you can workaround this by assigning a shortcut to the drop-down button:
    this.commandBarDropDownButton1.ShowKeyboardCues = true;
    this.commandBarDropDownButton1.UseMnemonic = true;
    this.commandBarDropDownButton1.Text = "Te&xt";
    this.commandBarDropDownButton1.Shortcuts.Add(new RadShortcut(Keys.Alt, Keys.X));

    Your Telerik points have been updated for bringing this to our attention.

    Do not hesitate to contact us if you have any further questions.

    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top