Switch that specifies whether to uncheck files (in the two-pane layout) or remove them from the upload list (in the one-pane or three-pane layout) after they are successfully uploaded.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("UncheckUploadedFiles", "true"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setUncheckUploadedFiles(value); value = getImageUploader("ImageUploaderID").getUncheckUploadedFiles();
A boolean value (true
or false
). If true
, files are automatically removed from upload list when upload completes. Otherwise the upload list is not cleared after upload.
Default value is "true".
The file is unchecked (or removed from the upload list) as soon as a request it is contained
in has been successfully processed. This way if you set the FilesPerOnePackageCount property to 1
, the
file will be unchecked as soon as it is uploaded. If you set it to -1
, files
will be unchecked when all of them are uploaded.
It is guaranteed that the unchecked (or removed) files are successfully uploaded. This way if the upload is interrupted by some reason, the user does not need to re-select files for upload. They can just click the Send button again and resume upload.