Gets or sets a value indicating whether successfully uploaded files should be deleted.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic

Public Property EnableOriginalFilesDeletion As Boolean

C#

public bool EnableOriginalFilesDeletion { get; set; }

Property Value

Type: System..::.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.

Remarks

Note

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.