ImageManager content provider

2 posts, 0 answers
  1. Carlo
    Carlo avatar
    11 posts
    Member since:
    Dec 2011

    Posted 21 Feb 2012 Link to this post

    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,
  2. Rumen
    Admin
    Rumen avatar
    14361 posts

    Posted 24 Feb 2012 Link to this post

    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.
Back to Top