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

RichTextbox can support docx formatt

1 Answer 45 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Nagarjun
Top achievements
Rank 1
Nagarjun asked on 04 Nov 2011, 06:33 AM
Hi,

    I need some confermation on richtextbox, that is RichTextbox can support the RIA pannels and docx formatt to load the data.

Thanks & Regards,
Nagarjun

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 04 Nov 2011, 04:12 PM
Hello Nagarjun,

There are two demos with RIA services this forum post. The RiaDataBindingXAML.zip contains an examle, which uses XamlDataProvider to bind the content of the document. XAML is closest to our document model and provides best serialization and deserialization. Therefore, it is highly advisable to use it to persist the documents in the database and only convert them to docx when needed.
The RiaPersistingOpenXML.zip contains a demo which uses DocxFormatProvider to convert the document to byte[] and persist this output in an image field in the database. There is no DocxDataProvider, so you won't be able to bind the content of the document.
I hope this helps.

Regards,
Iva Toteva
the Telerik team

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

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