Cannot View Client's Local Drive

3 posts, 1 answers
  1. Lynn
    Lynn avatar
    186 posts
    Member since:
    Sep 2006

    Posted 27 Jan 2010 Link to this post

    I am trying to use File Explorer to enable the site user to find a specific file on their local hard drive(s). I am trying to set the "ViewPaths" property to "c:\" but this does not work at all and gets a security violation type of error when the File Explorer window opens (see attached graphic).

    No matter what I set "ViewPaths" to, it always seems to relate back to the server's hard drive, not the clients.  How do I address the client's hard drive in the File Explorer window?

        <telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="530" Height="500" 
            <Configuration ViewPaths="c:\" /> 

    Thanks in advance!

    P.S. - If you see the "menu issue" in the attached graphic, I have already submitted a separate thread on that issue.
  2. Answer
    Fiko avatar
    1406 posts

    Posted 01 Feb 2010 Link to this post

    Hello Lynn,

    In reference to your questions:
    • There is not a control in ASP.NET (RadControls for ASP.NET are based on this framework) that will give you an option to access the client's file-system and this is a common restriction in WEB environment. The only exception is the Upload controls (FileUpload and RadUpload for example), but these controls use the Browser's Open File dialog and they do not have direct access to client's file system as well.
    • I have already answered your question in this thread.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Lynn
    Lynn avatar
    186 posts
    Member since:
    Sep 2006

    Posted 01 Feb 2010 Link to this post

    I understand the answer and the reason for it.  Here's why I need this capability:

    I am going to be uploading video (similar to UTube) and the control I have found does not perform the actual lookup on the client.  It processes the video files, handles conversion to Flash, etc. --- but I need to give it a full path and file name on the client.

    Thanks for the reply!

Back to Top