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

Address Bar Sub Folder

1 Answer 71 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Justavian
Top achievements
Rank 1
Justavian asked on 11 Sep 2010, 01:53 PM
I spent about an hour searching for a simple answer to this question - forgive me if i'm posting a repeat thread...

Is there any simple way to hide the first few folders in the address bar?

For example, say i have the following:
/Root/Files/Organization1/

Is there any way to have it simply display:
/Organization1/

One solution would be to map each organization folder to a virtual directory separately, but because of the fact that these are all dynamic, i don't see that as a reasonable solution.

It would appear that another course of action might be to create a mapping system like the PhysicalpathFilesystemProvider example.  But it seems like this is overkill for such a simple requirement. 

Is there an easy way to do this?

Thanks.
-RP

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 15 Sep 2010, 08:31 AM
Hi Justavian,

There is not a simple way to do this, because the path shown in the RadFileExplorer's addressbar is used internally in the code of the control, so changing it may cause some unpredictable behavior. Indeed, the solution provided in this KB article is the solution in your case. You can set physical paths to the RadFileExplorer's Configuration properties (as shown in the example attached to the KB) and then specify your mapping in the .mapping file.


All the best,
Fiko
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
FileExplorer
Asked by
Justavian
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or