This is a migrated thread and some comments may be shown as answers.

Search/Replace/Spell check across multiple RichTextBoxes

1 Answer 27 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Bob asked on 14 Oct 2011, 02:48 PM
I have multiple RichTextBoxes (5) in my application and I need to support Search/Replace across all RichTextBoxes.  Also, I have similar requirements for Spell Check/Find Next Error.  How do I go about implementing these functionality?

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 19 Oct 2011, 04:46 PM
Hello Bob,

The default UI that RadRichTextBox uses is designed to work with one instance of RadRichTextBox and the customization options provided (implementing a custom dialog and adding it through MEF) also work this way.
You can download the source of the controls and see how the FindReplaceDialog has been implemented and try to implement a similar dialog, which will continue searching the text in the next RadRichTextBox when the end of the current document has been reached. The same approach could be adopted with the SpellCheckingDialog.

Best wishes,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Iva Toteva
Telerik team
Share this question
or