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

Async mode - server side notification of completion

1 Answer 84 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 28 Jan 2016, 06:08 PM

In synchronous mode, it's easy to take a server side action when all files are processed via foreach (var file in files), when it is completed. But how to do this in async mode? The server controller has no notion of the total number of files. And I don't see an Event fired when all the files are upload, although the control has the "Done" UI indication.

 

thanks, Tom

 

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 29 Jan 2016, 11:56 AM

Hello Tom,

Out of the box each file will be uploaded in a separate request. You could change this behavior if needed by enabling the async.batch configuration option.

Regarding the event question, I assume you are looking for the complete event, which is fired when the uploading of all files is finished, regardless successful or with errors.

Regards,
Dimiter Madjarov
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Upload
Asked by
Tom
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or