EUR symbol cannot be entered via german keyboard layout

2 posts, 1 answers
  1. Bernhard
    Bernhard avatar
    22 posts
    Member since:
    Jul 2013

    Posted 30 Oct 2013 Link to this post

    Hello,

    my customer has noticed that it is not possible to enter the euro currency symbol € in the RichTextBox via key combination "Alt Gr" + "E"

    You can reproduce it in the online demo (http://demos.telerik.com/silverlight/#RichTextBox/TelerikEditor).

    As workaround it's only possible to enter the symbol with "Alt" + 0128.

    Best regards,
    Bernhard
  2. Answer
    Svetoslav
    Admin
    Svetoslav avatar
    55 posts

    Posted 31 Oct 2013 Link to this post

    Hello Bernhard,

    Thank you for contacting us!

    Telerik RichTextBlock supports default key-binding commands which can be overridden and customize to the liking of the user . Currently, you can insert an Euro sign in RadRichTextBox using the following keyboard shortcut: Alt+Num0+Num1+Num2+Num8. If you want to change that behavior, you can subscribe to the PreviewEditorKeyDown event of the editor as shown here and handle the insertion here:

    private void radRichTextBox_PreviewEditorKeyDown(object sender, Documents.PreviewEditorKeyEventArgs e)
    {
        if(Keyboard.Modifiers.HasFlag(ModifierKeys.Alt) && Keyboard.Modifiers.HasFlag(ModifierKeys.Control) &&
            e.Key == Key.E)
        {
            e.SuppressDefaultAction = true;
            e.OriginalArgs.Handled = true;
      
            this.radRichTextBox.Insert("€");
        }
    }


    If you have other questions don't hesitate to contact us again.

    Regards,
    Svetoslav
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top