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

How to explicitly show the RadFileExplorer's RadAjaxLoadingPanel

1 Answer 58 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 15 May 2012, 07:40 PM
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.

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 18 May 2012, 11:02 AM
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,
Dobromir
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.
Tags
FileExplorer
Asked by
Ryan
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or