Insert and highlight document fragment

2 posts, 0 answers
  1. Peter
    Peter avatar
    1 posts
    Member since:
    Jan 2011

    Posted 18 Nov 2013 Link to this post

    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
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 21 Nov 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top