I'm looking for a way to prevent the automatic processing of uploaded files (moving them from the temp folder to the target folder, along with some custom processing that I put in the OnFileUploaded event) if the user doesn't explicitly ask for the files to be processed.
More detail on the scenario: The async uploader is on a page with multiple tabs. When the user wants to upload files, they click on a tab where the async uploader exists. The tabs are configured to do a postback. I think that if they were to select some files, then change their mind and move on to another tab (causing a postback), that the files shouldn't be processed. However, I can't see a way to prevent that from happening. I want to put a button there that lets the user "accept" the files and start processing them.
I'm looking for a supported, documented means to only process the files if explicitly fired off (via a button onclick handler, for example), and delete the temporary files on postback if the processing isn't requested. Is this possible/available?
Thanks.
More detail on the scenario: The async uploader is on a page with multiple tabs. When the user wants to upload files, they click on a tab where the async uploader exists. The tabs are configured to do a postback. I think that if they were to select some files, then change their mind and move on to another tab (causing a postback), that the files shouldn't be processed. However, I can't see a way to prevent that from happening. I want to put a button there that lets the user "accept" the files and start processing them.
I'm looking for a supported, documented means to only process the files if explicitly fired off (via a button onclick handler, for example), and delete the temporary files on postback if the processing isn't requested. Is this possible/available?
Thanks.