Custom Image and File Dialog

2 posts, 0 answers
  1. The Stormm
    The Stormm avatar
    6 posts
    Member since:
    Jul 2007

    Posted 30 Nov 2009 Link to this post

    I am a bit confused...

    I have a site that is utilizing URL Routing and I want to create a custom image and file dialog that allows me to select file names from a database.  I have already created an image/file management system and I simply want the image/file dialog to read the database as needed and place the links within my content.  The actual delivery of the assets will be handled by my routing protocol (which will deliver actual physical files from the server, not binary information from the database).

    I have tried to implement the RadEditorCustomProvider, but I am not sure how to implement it for my needs.

    Here is the custom provider, but I have no idea how to call it or fill it with data from by database...

    Imports Telerik.Web.UI.Widgets 
    Namespace RadEditorCustomProvider 
        Public MustInherit Class MyFileBrowserContentProvider 
            Inherits FileBrowserContentProvider 
            Public Sub New(ByVal context As HttpContext, ByVal searchPatterns As String(), ByVal viewPaths As String(), ByVal uploadPaths As String(), ByVal deletePaths As String(), ByVal selectedUrl As String, ByVal selectedItemTag As String) 
                MyBase.New(context, searchPatterns, viewPaths, uploadPaths, deletePaths, selectedUrl, selectedItemTag) 
            End Sub 
        End Class 
    End Namespace 

    Can anyone help?

  2. Fiko
    Fiko avatar
    1406 posts

    Posted 02 Dec 2009 Link to this post

    Hello The,

    I believe that this blog post will be of help.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top