RadFileExplorer cannot access UNC path

2 posts, 0 answers
  1. Jinky
    Jinky avatar
    1 posts
    Member since:
    Dec 2012

    Posted 23 Apr 2013 Link to this post

    Hi, I have  a RadFileExplorer. I use CustomColumnsContentProvider to load the Treeview but when I use UNC path, base.ResolveRootDirectoryAsTree(path) shows error "Failed to map the path '\\SampleServer\FolderName'"

    Here is my Code:


    <add key="UNCPath" value="\\SampleServer\\FolderName"  />


    RadFileExplorer1.Configuration.ViewPaths = new string[] { ConfigurationManager.AppSettings["UNCPath"] };


     public override DirectoryItem ResolveRootDirectoryAsTree(string path)
         DirectoryItem originalFolder =

    Shows error on this part:

         DirectoryItem originalFolder = base.ResolveRootDirectoryAsTree(path);

    How can I access UNC in ResolveRootDIrectory?
  2. Vessy
    Vessy avatar
    2097 posts

    Posted 25 Apr 2013 Link to this post

    Hi Jinky,

    The RadFileExplorer's built-in content provider expects VirtualPaths to folders inside the application root to be set to its ViewPaths / DeletePaths / UploadPaths properties. 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

    Veselina Raykova
    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