This is a migrated thread and some comments may be shown as answers.

Cannot View Client's Local Drive

2 Answers 86 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Lynn
Top achievements
Rank 2
Lynn asked on 27 Jan 2010, 01:22 PM
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" 
        OnClientFileOpen="OnClientGridDblClick">  
        <Configuration ViewPaths="c:\" /> 
    </telerik:RadFileExplorer> 

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 Answers, 1 is accepted

Sort by
0
Accepted
Fiko
Telerik team
answered on 01 Feb 2010, 11:08 AM
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,
Fiko
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.
0
Lynn
Top achievements
Rank 2
answered on 01 Feb 2010, 02:14 PM
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!

Lynn
Tags
FileExplorer
Asked by
Lynn
Top achievements
Rank 2
Answers by
Fiko
Telerik team
Lynn
Top achievements
Rank 2
Share this question
or