Last post Oct 31, 2013 10:25 PM by Happy Chen - MSFT
Oct 30, 2013 06:27 AM|cabbry|LINK
I've got the AjaxFileUpload control working fine.
When the OnUploadComplete server side event is called, I'd like to be display a "wait" message while the user is waiting.
protected void OnUploadComplete(object sender, AjaxFileUploadEventArgs e)
// does something very long
catch (Exception ex)
How can I do this ?
Oct 31, 2013 12:32 AM|chetan.sarode|LINK
Check out this blog post:
It also has links to file upload components that notify the user of progress uploading the file.
Oct 31, 2013 12:51 AM|Happy Chen - MSFT|LINK
hi cabbry ,
May 2012 release of
AjaxControlToolkit includes a new AjaxFileUpload Control which supports
Multiple File Upload, Progress Bar and Drag And Drop functionality.
These new features are supported by Google Chrome version 16+, Firefox 8+ , Safari 5+ and Internet explorer 10 + , IE9 or earlier does not support this feature.
I sugeest you try to set ThrobberID property .
ThrobberID is used to display loading image instead of progress bar in unsupported browsers.
Please read the reference below for more information:
Asp.Net AjaxFileUpload Control With Drag Drop And Progress Bar
Hope it helps you.
Oct 31, 2013 09:38 AM|cabbry|LINK
I am already using AjaxFileUpload Control of AjaxControlToolkit and the progress bar is ok.
But is it possible to wait the end of the upload to display the message (when it shows 100%) ?
Because my treatment in OnUploadComplete event is very long.
Oct 31, 2013 10:25 PM|Happy Chen - MSFT|LINK
it is not possible to wait the end of the upload to display the message. Because the onProgressHandler event is loaded
When the page loading.
here to see the sourcecode.But you can use onClientUploadComplete and onClientUploadCompleteAll property to add your own displaying messages.
Please go to
ASP.NET AJAX Control Toolkit to download the complete project and see AjaxFileUpload control usage.
you also can see the sourcecodes of the AjaxFileUpload libs and download or change it: