Save Path of Uploaded File

2 posts, 1 answers
  1. Robert
    Robert  avatar
    68 posts
    Member since:
    Feb 2009

    Posted 31 Oct 2011 Link to this post

    I am writing to learn if it is possible to specify a physical path on a web server, rather than a virtual path in the web application, for the destination of an uploaded file;

    Does this type of functionality need to be specified with C#, rather than in the configuration section of the RadFileExplorer?

    Thanks in advance for any insight;  Best regards - Rob   

    <telerik:RadFileExplorer ID="RadFileExplorer1" Runat="server">
                  <Configuration ViewPaths="~/Customers" UploadPaths="~/Customers"
                           DeletePaths="~/Customers" />
  2. Answer
    Dobromir avatar
    1633 posts

    Posted 01 Nov 2011 Link to this post

    Hi Robert,

    You can achieve the required functionality by assigning a custom content provider to RadFileExplorer. You can find a detailed information on how the RadFileExplorer's content provider works in the following help article:
    Using custom FileBrowserContentProvider

    In addition, you can find example of such content provider in the following KB article:
    Use RadFileExplorer with physical and shared folder's paths

    Best wishes,
    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
Back to Top