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

Rad File explorer with sql server database

1 Answer 177 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
neil fennessey
Top achievements
Rank 1
neil fennessey asked on 22 Jun 2012, 11:25 AM
Hi,
I want to bind the file explorer only with the sql server table. i have searched for this issue, and found some links like http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/server-sideapi/dbfilebrowsercontentprovider/defaultcs.aspx but still in the page load event, some paths are being assigned to the control, i didnt get the need of assigning paths to the file explorer when we are tryying to get file structure from database. i dont want to keep any link with the file server, purely database file explorer.
can any one please advice.

thanks

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 27 Jun 2012, 09:31 AM
Hi Neil,

The ViewPaths, UploadPaths and DeletePaths properties of RadFileExplorer are required for various functionality of the control (for example permissions granting). These properties define the navigation pattern that the control will use to display the files / folders from the source.

When working with directory structure defined in a database you need to set the paths to these properties that follow the logic of the structure declaring the root directory to be displayed, thus these paths are not related to the server's file system.

You can find more detailed information regarding the RadFileExplorer's ContentProvider usage in the following help article:
Using custom FileBrowserContentProvider

Regards,
Dobromir
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
General Discussions
Asked by
neil fennessey
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or