This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.UncheckUploadedFiles Property

Supported in: ActiveX , Java

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.

Syntax

Initialize

JavaScript
<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>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setUncheckUploadedFiles(value);
value = getImageUploader("ImageUploaderID").getUncheckUploadedFiles();

Property Value

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".

Remarks

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.

See Also

Reference