Aurigma Image Uploader 5.0 Dual
ImageUploader.DeleteUploadedFiles Property
See Also Supported in: ActiveX Java

Switch that defines whether successfully uploaded files should be deleted to the Recycle Bin.

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <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 | Copy Code
--- | ---
    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 to the Recycle Bin.

Default value is "false".

# Remarks

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

# See Also

##### Reference

ButtonDeleteFilesImageFormat Property
ButtonDeleteFilesText Property
ButtonSendText Property
Send Method