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

store and apply virtual path to FileExplorer

1 Answer 83 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 18 Jan 2012, 11:31 PM
I'm writing to ask how best to store a document path in an SQL Server - if the document path is in a different drive;

For example, if a View Path is stored as \Customers - and is in the root folder of the web application, I am able to apply the path to the RadFileExplorer with the below code - after obtaining the document path from the SQL Server database:

RadFileExplorer1.Configuration.ViewPaths = listViewPaths.ToArray();

However, if the document path is in a different drive - such as

\\FLEET01\D$\Documents\Customers\ - the RadFileExplorer is not populated;

 
No errors occur on the web server, which indicates to me that the format is OK;

Any insight is appreciated;

1 Answer, 1 is accepted

Sort by
0
Accepted
Dobromir
Telerik team
answered on 20 Jan 2012, 02:25 PM
Hi Robert,

In order to populate RadFileExplorer with folders / files that are not physical application's subfolders you need to assign a custom content provider to the control. Please review the following help article for more detailed information regarding RadFileExplorer's content provider abstraction:
Using custom FileBrowserContentProvider

In the following KB article you can find an example of custom content provider that is allows RadFileExplorer to operate with physical and shared paths:
Use RadFileExplorer with physical and shared folder's paths

Greetings,
Dobromir
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
Tags
FileExplorer
Asked by
Robert
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or