Rad File explorer with sql server database

2 posts, 0 answers
  1. neil fennessey
    neil fennessey avatar
    8 posts
    Member since:
    Mar 2008

    Posted 22 Jun 2012 Link to this post

    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
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 27 Jun 2012 Link to this post

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