Pure ASP.NET Upload 2 AddOn Manual
Pure ASP Upload Add On Pack - Delete File Before Record
The Delete File Before Record extension allows you to also delete the associated files when used in combination with the standard "Delete Record" Server Behavior. Has an option to delete the created thumbnails too.
How to do it
- Open page
You should place the "Delete File Before Record" Server Behavior on a page where you have placed already the "Delete Record" Server Behavior.
- Apply Delete File Before Record
To apply the Delete File Before Record Server Behavior open the Server Behaviors
panel.
Click on the + sign, DMXzone and Delete File Before
Record.
- Select the folder
1. Click Browse and select the folder you uploaded the images to.
2. Select the field in the database that holds the information. You can select multiple fields by holding the shift or ctrl key and click.
3. You can delete the associated thumbnail too, by entering the suffix that you used. It defaults to _small.
4. Click OK to apply the Delete File Before Record behavior.
5. If you apply this extension for the first time message box will appear saying that a file called incPUAddOn.asp has been copied into your site's ScriptLibrary folder. Click OK. Make sure you upload this file to your server!
- Save your file.