DevExpress-Examples / asp-net-web-forms-richedit-work-with-database

Configure the Rich Text Editor control to work with a database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rich Text Editor for ASP.NET Web Forms - How to save/load documents to/from a database

This example demonstrates how to configure the Rich Text Editor control to work with a database.

Connect Rich Text Editor to Database

Load a document from a database as a byte array and pass it to the control's Open(String, DocumentFormat, Func<Byte[]>) method overload to open the document in the Rich Text Editor. The Open(String, DocumentFormat, Func<Stream>) method overload allows you to open a document loaded from the database as a stream.

The Saving event occurs when you call the Save method or a user clicks the built-in Save or SaveAs command in the Ribbon UI. To save changes, handle the Saving event and update the data source.

Files to Review

Documentation

More Examples

About

Configure the Rich Text Editor control to work with a database.

License:Other


Languages

Language:Visual Basic .NET 36.0%Language:C# 35.6%Language:ASP.NET 28.4%