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

Knowing when upload is Finished

1 Answer 62 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
John S.
Top achievements
Rank 1
John S. asked on 12 Jul 2012, 02:53 AM
Does anyone know how I can know when all files are finished uploading server-side, so I can redirect to another page?

Thanks,
John

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 16 Jul 2012, 01:10 PM
Hello John,

  
You can use the onClientFilesUploaded event and redirect as in the code below:

function onClientFilesUploaded(sender, args){
window.location = "http://www.telerik.com/";
}

If you need to do redirect on the server you can use Ajax Request as it is explained in this help article.

Hope this will be helpful.

All the best,
Plamen
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
AsyncUpload
Asked by
John S.
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or