Automatic capitalisation after punctuation

2 posts, 0 answers
  1. Cameron Molyneux
    Cameron Molyneux avatar
    79 posts
    Member since:
    Jan 2010

    Posted 08 Apr 2013 Link to this post


    Is there anyway we can turn this on with the rich text control?

    Or do you have any examples of how this might be achieved?

  2. Boby
    Boby avatar
    588 posts

    Posted 10 Apr 2013 Link to this post

    Hello Cameron,
    RadRichTextBox doesn't support such feature. You can try to use RadRichTextBox.KeyDown event, and detect that the user has typed specific sequence.
    Another option is to use RadRichTextBox.CommandExecuted event and listed for InsertTextCommand execution:
    this.radRichTextBox.CommandExecuted += (sender, e) =>
            if (e.Command is InsertTextCommand)
                   // detect the current inserted text from e.CommandParameter
    Note that in the latter case fast keystrokes can be combined in one command execution.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top