2 posts, 0 answers
  1. Michael
    Michael avatar
    16 posts
    Member since:
    Dec 2014

    Posted 08 Dec 2015 Link to this post

    My understanding is that OnClientFilesUploaded will fire when all files in the list have been uploaded.  However, if you queue up several files (drag and drop)... and then later (while the first set is still uploading) queue up a second set of files (drag and drop); the OnClientFilesUploaded event will trigger after the first set of files is finished uploading and not after all files have finished uploading.


    I have a full postback happening in my OnClientFilesUploaded handler which causes any other queued up files to be removed from the list.  Can the OnClientFilesUploaded be changed to only fire when all files in the list have been uploaded?  And not after the first set is complete?


    Tested on IE 11 and Chrome.

  2. Ivan Danchev
    Ivan Danchev avatar
    1265 posts

    Posted 11 Dec 2015 Link to this post

    Hello Michael,

    I am afraid the chain of events cannot be changed. Every file selection/drop (or multiple file selection/drop) is a separate upload and starts its own chain of events starting with OnClientFileSelected/OnClientFileDropped -> OnClientFileUploading -> etc. until the OnClientFilesUploaded is fired if the upload is successful.

    Ivan Danchev
    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
Back to Top