Is there an event for RadAsyncUpload that tells me that all the uploads are finished?
It would be nice if I could show/hide controls according to this event, or even better: initiate a postback when all the files are uploaded.
Hi Zoltan,
One way to do to this is in client side,using the onClientFileSelected and OnClientFileUploaded events.
You can increase a counter in the OnClientFileSelected, when the user selects a file to upload (ex.selectedFilesCounter), and in the OnClientFileUploaded method increase another counter(ex.uploadedFiles).
When the selectedFilesCounter = uploadedFiles then you can raise an event or perform postback etc.
Thats what I have think for a similar senario.
Hopefully this can work for you too.
I just realized that when i use multifieupload, onClientFileSelected and OnClientFileUploaded fires only ones, when the page loads and never again. It seems, they just simpy do not work.
Your way of testing whether the OnClientFileUploaded event has fired in unreliable and will cause JavaScript errors in modern browsers such as FireFox 3.0 + and IE8. Please add correct handler for the FileUploaded event and you will notice that it is being fired for all files that were selected via multiple selection:
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items