This code example demonstrates how to save and restore ASPxRichEdit documents from a database using a Binary column.
Use the ASPxRichEdit.Open method to load a document and call the ASPxRichEdit.SaveCopy method to save changes.
It is also possible to handle the ASPxRichEdit.Saving event to save a document by clicking the ribbon's built-in Save button.
Question Comments
Added By: IS Dept at: 4/16/2016 12:00:03 PM I get
Error 2 The type or namespace name 'Rtf' does not exist in the namespace 'DocumentFormat' (are you missing an assembly reference?)
When trying to use this sample
Added By: Jenny (DevExpress Support) at: 4/18/2016 12:41:25 AM
Hello,
I've created a separate ticket on your behalf (T368691: The type or namespace name 'Rtf' does not exist in the namespace 'DocumentFormat' error occurs). It has been placed in our processing queue and will be answered shortly.
I get the error 'The file is corrupt and cannot be opened'.. at OpenFromByteArrayBtn_Click
how to solve it for that?
I look forward your reply.
Thanks
Added By: Artem (DevExpress Support) at: 6/13/2016 2:14:03 AM
Hi,
We'll reply to you in the context of the ASPxRichEdit - Unable to open a file as stream thread. Please bear with us.