Switch that defines whether successfully uploaded files should be deleted.

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("DeleteUploadedFiles", "false");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript

getImageUploader("ImageUploaderID").setDeleteUploadedFiles(value);
value = getImageUploader("ImageUploaderID").getDeleteUploadedFiles();

Property Value

A boolean value (true or false). If true, after successful upload Image Uploader shows a dialog, asking the user whether the uploaded files should be deleted. If the user clicks Yes, the files will be deleted.

Default value is "false".

Remarks

Note

A difference between ActiveX control and Java applet is the following. When the user deletes files in ActiveX control it moves them in the way specified in the Recycle Bin properties. By default, a standard delete confirmation dialog appears and files are moved to the Recycle Bin if the user clicks Yes. However if the user deletes files in Java applet the internal Image Uploader dialog appears and files are removed permanently when the user clicks Yes.

To let the user delete selected files from the folder pane, use the ButtonDeleteFilesText property.