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...
Can anyone help?
Thanks!!
Mark
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?
Thanks!!
Mark