Database File Provider

Custom FileBrowserContentProvider implementation allows using virtually any type of file sources for the FileBrowser dialogs (Image Manager, DocumentManager, Media Manager, Flash Manager, Template Manager):

This example demonstrates the implementation of a custom FileBrowserContentProvider, using a database as a file source.

The DBFileBrowserContentProvider class inherits the abstract Telerik.WebControls.RadEditorUtils.FileBrowser class and implements several of its abstract members. These are:

DBFileBrowserContentProvider uses a helper DataServer class, designed to handle the database operation functions.

The file content is stored in the database and is served by the content-streamer Handler.ashx file.