How to explicitly show the RadFileExplorer's RadAjaxLoadingPanel

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    1 posts
    Member since:
    Nov 2011

    Posted 15 May 2012 Link to this post

    I have EnableAsyncUpload="true" set on my RadFileExplorer which uploads files to a third party file hosting provider.  I would like to display the RadFileExplorer's RadAjaxLoadingPanel while the the files are being transferred from the server to the hosting provider.  What is the best way to accomplish this?

    The current flow is as follows: 
    1) User clicks "Upload"
    2) Async upload dialog is shown
    3) Files selected and uploaded to server (progress of each file upload is shown in the async upload dialog
    4) User clicks the "Upload" button in the async upload dialog
    5) The async upload dialog closes
    6) Files are transferred from server to the third party file hosting provider (during this process, nothing is happening on the UI screen)
    7) UI is updated to show newly uploaded files in the RadFileExplorer's grid

    What I am looking for is a way to indicate to the user that something is happening during step 6.  Any help is appreciated.
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 18 May 2012 Link to this post

    Hi Ryan,

    Could you please provide more detailed information on how you have implemented the step6?

    In general, you can override the content provider's StoreFile() method to apply additional modifications (or in this case, storing file to additional location) to the uploaded files. If a time consuming operation is executed in this method the build-in loading panel of RadFileExplorer will be visible until it is finished.
    You can find more detailed information regarding RadFileExplorer's content provider in the following help article:
    Using custom FileBrowserContentProvider

    Kind regards,
    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