Connect to different database tables

2 posts, 1 answers
  1. CRISTINA
    CRISTINA avatar
    7 posts
    Member since:
    Jul 2010

    Posted 20 May 2015 Link to this post

    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

     

  2. Answer
    Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 21 May 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top