Load specific PDF files from server and Download to user machine

2 posts, 0 answers
  1. Venkata
    Venkata avatar
    128 posts
    Member since:
    Nov 2009

    Posted 27 Dec 2012 Link to this post

    How do we load some specific PDF/doc files from server into FileExplorer and user can download into their machine?

    and i could not load files from shared folder on  the server.
    my server path is "\\srvname\Z_Drive\docs"
    string[] paths = new string[] {@"\\srvname\Z_Drive\docs" };   
     RadFileExplorer1.Configuration.ViewPaths = paths;

    but nothing show up on the FileExplorer 

    here is what i am trying to implement using FileExplorer .
    i want to show some list of PDF/DOC/XLS files from server into FileExplorer and user able to download all the files or some of the files into their local machine(no upload, no delete, no view nothing).  Just download the files from the server.

    how could achieve this one? (if not possible using FileExplorer please suggest me some other telerik control)

  2. Vessy
    Vessy avatar
    2132 posts

    Posted 28 Dec 2012 Link to this post

    Hi Venkata,

    In order to configure RadFileExplorer to work with shared drives or physical paths you need to implement custom content provider. Such provider is available in the following KB article:
    Use RadFileExplorer with physical and shared folder's paths

    More detailed information on how to implement custom content provider is available in the following help article:
    Using custom FileBrowserContentProvider

    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.
Back to Top