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

RTF problem

1 Answer 64 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 29 Nov 2011, 05:27 AM
Hi,

in my application, depending on which rtf document I have, I want to display it into a RadRichTextBox, can you provide me a small demo on how to do it?

Thank's

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 02 Dec 2011, 12:34 PM
Hi Oliver,

RadRichTextBox uses format providers to load the content of the document from different file formats. The RTF import and export are implemented in RtfFormatProvider. You can read more on its use in this article. The OpenDocumentCommand which opens files through the OpenFileDialog is wired to work with all format providers that are referenced in the project. You can preview it in our ClickOnce demos or the Silverlight online demo.

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
Oliver
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or