Async mode - server side notification of completion

2 posts, 0 answers
  1. Tom
    Tom avatar
    1 posts
    Member since:
    Mar 2015

    Posted 28 Jan Link to this post

    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

  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2122 posts

    Posted 29 Jan Link to this post

    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.

    Dimiter Madjarov
    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
  3. UI for ASP.NET AJAX banner
Back to Top