File Manager for a Shared Drive

3 posts, 0 answers
  1. Frank
    Frank avatar
    103 posts
    Member since:
    Mar 2012

    Posted 25 Mar 2014 Link to this post

    I have an application that will exist on one iis server but I want it to display files from a shared drive on a separate server.  The other issue is I only want to display subfolder based on the user and what the users has selected to view. They will be read only for the directory

    ​string jobId = Request.QueryString["jobId"];
    string path = @"\\servernamel\FileManager\" + jobId + @"\subfolder\";
    string[] folder = { path };
    RadFileExplorer1.Configuration.ViewPaths = folder;
    RadFileExplorer1.Configuration.SearchPatterns = new[] { "*.*" };
    RadFileExplorer1.Configuration.ContentProviderTypeName = typeof(CustomFileSystemProvider).AssemblyQualifiedName;

    I have followed the link

    but I have had no success in displaying the files in the shared folder.

    I am assuming I have to change the MappingFile.mapping to
    <?xml version="1.0" encoding="utf-8" ?>

  2. Frank
    Frank avatar
    103 posts
    Member since:
    Mar 2012

    Posted 25 Mar 2014 in reply to Frank Link to this post

    Ok I have found the error in the code, but now the final folder shows up twice in the File Explorer.
    once as
    and as
  3. Vessy
    Vessy avatar
    2128 posts

    Posted 28 Mar 2014 Link to this post

    Hello Frank,

    I am afraid that the provided information was not enough for us to reproduce the issue and determine what is causing it. Could you, please, try to isolate the problem into a sample fully runnable project and send it for a further investigation? could you also verify that you are using the content provider from the linked code library without any additional modifications?


    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

Back to Top