Gets or sets a value indicating whether successfully uploaded files should be deleted.
public function getEnableOriginalFilesDeletion() { } public function setEnableOriginalFilesDeletion($value) { }
Type: boolean
If true
, after successful upload Image Uploader shows a dialog, asking a user whether the uploaded files should
be deleted. If a user clicks Yes, the files will be deleted.
Default value is false.
A difference between Image Uploader behavior in Internet Explorer and other supported browsers is the following. When Image Uploader deletes files in Internet Explorer, 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 a user clicks Yes. However, if Image Uploader deletes files in any of other supported browsers, the internal delete confirmation dialog appears and files are removed permanently when a user clicks Yes.
If the file cannot be deleted, the DeletingFilesError message appears.