Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxRichEdit - How to save and load documents from a database

$
0
0

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.

Added By: Sim Joo Siong at: 6/12/2016 8:27:00 PM    Hi Support,

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.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>