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

Connect to different database tables

1 Answer 66 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
CRISTINA
Top achievements
Rank 1
Iron
CRISTINA asked on 20 May 2015, 10:22 AM

Hi, I'm connecting to an Oracle database, where I have the Documents table and the Sections table.. I'd like to use the file explorer to show on the left the Section names as folder with the treeview and on the right the Documents related to that section

Is that possibile?

 

Thanks

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Vessy
Telerik team
answered on 21 May 2015, 03:33 PM
Hi Christina,

By design RadFileExplorer can work only with paths to files and folders placed inside the applciation's root directory. In order to implement the desired scenario you will need to implement a custom FileBrowserContentProvider which allows for different file sources to be used in the RadFileExplorer control.

If you find it useful, you can use the SQL provider implemented by us as a base for your own implementation: Connect RadFileExplorer or RadEditor to a SQL database
 
There is also a live demo with the above content provider implemented, where you can test its behavior:
Custom File Content Provider

Regards,
Vessy
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
FileExplorer
Asked by
CRISTINA
Top achievements
Rank 1
Iron
Answers by
Vessy
Telerik team
Share this question
or