RadFileExplorer with Shared Drive not working as expected

2 posts, 0 answers
  1. Saravanan
    Saravanan avatar
    1 posts
    Member since:
    Feb 2013

    Posted 17 Aug 2015 Link to this post

    I'm having a RadFileExplorer on my program and mapping it to a Shared Drive. The first level of treeview is loading as expected and when I click on the expand button on the treeview, the folders are not being loaded. And any files are not displayed on the file viewer on the right column. Below is my code, kindly let me know what could be the issue.


    protected void Page_Load(object sender, EventArgs e)
                    if (!Page.IsPostBack)
                        string[] viewPaths = Directory.GetDirectories(@"\\vmtywebAA02\develop\", "*", SearchOption.TopDirectoryOnly);
                        RadFileExplorer1.Configuration.ViewPaths = viewPaths;
                        RadFileExplorer1.Configuration.SearchPatterns = new[] { "*.*" };
                        RadFileExplorer1.Configuration.ContentProviderTypeName = typeof(CustomFileSystemProvider).AssemblyQualifiedName;                    
                catch (Exception)

  2. Vessy
    Vessy avatar
    1664 posts

    Posted 20 Aug 2015 Link to this post

    Hi Saravanan,

    By design RadFileExplorer can work only with virtual paths to folders placed inside the application root directory. In order to list the content of a shared drive you have to implement a custom contet provided like the one attached by us here: Use RadFileExplorer with physical and shared folder's paths

    Can you verify that you are using this provider in your application or did you implement your own one? i am asking you that as the described behavior is usually experienced when FileExplorer cannot access the given paths properly and so only a folder with the name of the root directory is created, without accessing its actual content. If this is not the case, though, please, prepare and send us a runnable version of your project so we can examine the problematic behavior at our side.

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