Welcome Guest Search | Active Topics | Sign In | Register

How to add Path Mappings for the FileExplorer control dynamically on the server side? Options
Priya
Posted: Tuesday, August 25, 2009 6:50:49 AM
Rank: Member
Groups: Member

Joined: 8/25/2009
Posts: 12
HI

How to add Path Mappings for the FileExplorer control dynamically on the server side?
eo_support
Posted: Tuesday, August 25, 2009 9:15:03 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You just add it. There is nothing special about it. The code would be something like this:

Code: C#
EO.Web.PathMapping mapping = new EO.Web.PathMapping();
mapping.Path = "c:/images";
mapping.Url = "http://somesite.com/images";
FileExplorer1.PathMappings.Add(mapping);


Note the mapping has to be already working on your web server, which means user indeed can use http://somesite.com/images to access c:/images.

Thanks!
roy.dan.73
Posted: Thursday, August 27, 2009 3:56:28 AM
Rank: Newbie
Groups: Member

Joined: 8/23/2009
Posts: 9
hi.
how to change the root display text instead of the real path
for now my root display text is e:\\somathing\\some i want it to be just "Root Folder"!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.