i need to save and load rich text to database which contains images and formatted text
thnx
rich text save and load from database
Answers approved by DevExpress Support
Hi Mustafa,
To load and save data from RichEditControl, you can bind it to an Rtf data column and handle the Rtf content saving/loading operations. You can find an example that illustrates how to accomplish this task here: How to use a RichEditControl in bound mode.
If this approach does not meet your requirements, convert data from your database to a stream and use the RichEditControl.LoadDocument and RichEditControl.SaveDocument methods to load data from stream and save it.
Please refer to the Load and Save to a Database thread for more information.
I hope that this information will help you get started. If you need further assistance with this subject, feel free to reactivate this ticket.