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

Virtual and Physical Paths

3 Answers 135 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 20 Jul 2011, 07:15 PM
I am trying to create an application were a user can move multiple files from a virtual path to a physical path. I am open to using FileExplorer, TreeView, or whatever makes this possible. My major issue has been getting the physical path to work.

Can you point me in the right direction?

Thank you,

Brad

3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 21 Jul 2011, 04:53 PM
Hi Brad,

The FileBrowserContentProvider abstract class allows for different file sources for the RadFileExplorer control, such as file system, database system, CMS-specific resource system or even online storage systems such as Amazon S3. You can find various custom content providers in the KnowledgeBase and CodeLibrary sections of our site.

I believe the content provider from the following KB article will be suitable for this specific scenario:
Use RadFileExplorer with physical and shared folder's paths

In addition, you can find more detailed information on how the content provider works in the following help article:
Using custom FileBrowserContentProvider

All the best,
Dobromir
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Brad
Top achievements
Rank 1
answered on 21 Jul 2011, 04:58 PM

I am having a major issue with http://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/physical-paths-and-different-content-types.aspx and getting the FileExplorer to work with both physical and virtual paths. I can get the physical path to work but I cannot get the virtual path (~/VirtualDir/SubFolder) to work.



Any thoughts?
0
Dobromir
Telerik team
answered on 25 Jul 2011, 03:17 PM
Hi Brad,

I am not quite sure I understand the specific scenario. Is the VirtualDir actually a virtual directory added to the application or a standard application sub folder? If it is a virtual directory you still need to access it using its physical path.

In addition, the content provider from the above mentioned KB article is developed to work specifically with shared and physical paths, however, if you want to add an application sub-folder you still can provide the absolute physical path to this folder instead of virtual path.

If this is not the case, could you please describe in more details what is the issue - a sample project demonstrating the case will be of great help solving the problem?

All the best,
Dobromir
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
Brad
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Brad
Top achievements
Rank 1
Share this question
or