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

How do you bind RTF file in RichTextBox

1 Answer 87 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Bylar
Top achievements
Rank 1
Bylar asked on 11 Jan 2012, 07:34 AM
I want to set the rtf file from server and retrieve it in code.  Just don't understand the code .

Any help would be appreciated.

Bryan

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 12 Jan 2012, 02:18 PM
Hi Bryan,

RadRichTextBox uses format providers in order to open and save documents in different formats. There are also data providers built on top of some of the format providers in order to provide the means for data-binding. 
There are examples showing how the providers can be used with documents stored on the server in this forum post. Both examples use RIA services; the difference is that the RiaPersistingInOpenXML demo uses DocxFormatProvider in order to save the documents in docx format and the other sample uses a data provider.

All the best,
Iva Toteva
the Telerik team

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

Tags
RichTextBox
Asked by
Bylar
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or