How to get the physical path of RAD file explorer

2 posts, 0 answers
  1. sandhya
    sandhya avatar
    12 posts
    Member since:
    May 2011

    Posted 30 May 2011 Link to this post


    Please can you tell me how to get the physical path of the file uploaded using file explorer.
    For ex : I uploaded suppose qwerty.html .The uploaded file stored in in this phyical path  c:/content/content/Hospital1/qwerty.html
    virtual path is /Content/folder1/Folder2/Qertyy.html.

    Now same file if i want to download i need phyical path i.e c:/content/content/Hospital1/qwerty.html
    How can i get this using fileexplorer.?

    Please post the working demo example.
    dont send any links for checking .i alredy checked all those links.

  2. Rumen
    Rumen avatar
    12779 posts

    Posted 02 Jun 2011 Link to this post

    Hi Bhavani,

    You can use Server.MapPath in order to retrieve the in order to get the physical paths (for example: Server.MapPath("~/App_Data/ExampleVirtualPath")).

    Here is the requested example:

    <telerik:RadFileExplorer ID="FileExplorer1" runat="server"
        <Configuration ViewPaths="~/images" UploadPaths="~/images" />

    protected void FileExplorer1_ItemCommand(object sender, Telerik.Web.UI.RadFileExplorerEventArgs e)
        switch (e.Command)
            case "UploadFile":

    Best regards,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
Back to Top