This is a migrated thread and some comments may be shown as answers.

ImageManager content provider

1 Answer 70 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Carlo
Top achievements
Rank 1
Carlo asked on 21 Feb 2012, 03:07 PM
Appologies if this has been asked, I've done a quick search and haven't found *quite* what I am looking for. I am curious if there is any good example for implementing a database driven content provider for RadEditor ImageManager. Basically our storage system will break files uploaded down into directories by date uploaded, then the system relies upon database links to make the reference to the business object (say a written report in this case) that it will be associated with.

I found one very bare bones example for RadImageManager, which seems perhaps somewhat applicatable. But that example seems to be more of a general file manager in nature, and I wasn't totally sure if the same structure will apply to the radeditor.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 24 Feb 2012, 09:20 AM
Hi,

You can use the Database File Browser Content Provider of RadEditor as a base to implement your specific scenario. The Custom File Dialogs Content Provider example demonstrates the implementation of a custom FileBrowserContentProvider, using a SQL database as a file source. If you have installed the RadControls demo, the DBContentProvider class is available in the App_Code\Editor\ folder of the demo project or in this code library.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Carlo
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or