---
title: "Uploader..::.EnableOriginalFilesDeletion Property ActiveX/Java Uploader ASP.NET"
canonical: https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Uploader_EnableOriginalFilesDeletion.htm
product: "Upload Suite 8"
---

# Uploader.EnableOriginalFilesDeletion Property ActiveX/Java Uploader ASP.NET

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets a value indicating whether successfully uploaded files should be deleted.
 
**Namespace:** [Aurigma.ImageUploader](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
 **Assembly:** Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
 
## Syntax
  
```csharp
public bool EnableOriginalFilesDeletion { get; set; }
```
 
### Property Value
 
Type: [System..Boolean](http://msdn2.microsoft.com/en-us/library/a28wyd50)
 
If `true`, after successful upload ActiveX/Java 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 ActiveX/Java Uploader behavior in Internet Explorer and [other supported browsers](https://www.aurigma.com/docs/us8/system-requirements.htm.md) is the following. When ActiveX/Java 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 ActiveX/Java Uploader deletes files in any of [other supported browsers](https://www.aurigma.com/docs/us8/system-requirements.htm.md), the internal delete confirmation dialog appears and files are removed permanently when a user clicks **Yes**.
 
If the file cannot be deleted, the [DeletingFilesError](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Messages_DeletingFilesError.htm.md) message appears.
   
## See Also

### Reference

- [Uploader Class](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_Uploader.htm.md)
- [Aurigma.ImageUploader Namespace](https://www.aurigma.com/docs/us8/JA_N_Aurigma_ImageUploader.htm.md)
- [Aurigma.ImageUploader..DeleteFilesDialog](https://www.aurigma.com/docs/us8/JA_T_Aurigma_ImageUploader_DeleteFilesDialog.htm.md)
- [$au.uploader.enableOriginalFilesDeletion JavaScript PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_J_$au_uploader_enableOriginalFilesDeletion.htm.md)
- [Uploader.EnableOriginalFilesDeletion PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Uploader_EnableOriginalFilesDeletion.htm.md)
