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

Insert and highlight document fragment

1 Answer 110 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 18 Nov 2013, 09:18 PM
Hi.

I am  inserting rich text document fragments into a rich text document.  I'd like these inserted fragments to be highlighted in the final document.  As I am using MVVM, I'm trying to make this happen in the View Model without access to the RadRichTextBox, only the RadDocument that it consumes.

Is this possible to do?  Seems it should be, as highlighting is persisted in the RadDocument.  But all of the highlighting examples I've seen seem to operate on the rich text box itself for some reason...

Thanks,

Pete

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 21 Nov 2013, 03:28 PM
Hello Pete,

RadRichTextBox provides a concept which allows you to edit a document without access to the actual RadRichTextBox it is shown in. I suggest you refer to this help article in order to learn more about RadDocumentEditor and the capabilities it provides.

I hope the provided information is helpful! Let us know if you have other questions.

Regards,
Petya
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 >>
Tags
RichTextBox
Asked by
Peter
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or