Select Content To Load

SavePrintSpell CheckSpell As You TypeFind and Replace
CutCopyPasteUndoRedo
Font
Size
BoldItalicUnderlineJustify LeftJustify CenterJustify RightJustify FullForeground Color
Foreground ColorBackground Color
Background Color
DesignHTMLPreview

Content has been loaded from Content ID: 1 in the database. Click Save toolbar button (shown as ) to save the content.

Description
You can load the editor content from your database by retrieving the content of your database table and setting
the EditorHtml property of your UltimateEditor control to that content.

You can also save the editor content back to your database by getting the editor content through the EditorHtml
property when Save toolbar button is clicked.

If you have Microsoft SQL Server 2005 Express Edition installed on your machine, you can use the database UltimateEditorDatabase under App_Data. Otherwise, you may run the SQL query CreateTable_UltimateEditorContent under Controls\Documents\Database.

You also need to add the configuration settings from EditorContentDatabaseConfig.xml to your Web.config file.

UltimateEditor stores the editor content in your database as below:

Column Name Data Type Description
id int Identity column (primary key and auto-increment)
content text Editor content

Server-side API provides the ContentInDatabase class with the following methods for the CRUD
(Create/Read/Update/Delete) operations:

Method Name Description
GetEditorContentFromDatabase Gets the editor content from the database by given editor content ID.
InsertEditorContentToDatabase Inserts the editor content to the database by given editor content.
UpdateEditorContentInDatabase Updates the editor content in the database by given editor content ID
and the new content.
DeleteEditorContentFromDatabase Deletes the editor content from the database by given editor content ID.


Note that this feature is supported in .NET 2.0 and higher.