These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Trapping delete (as compared to deleted)

When creating an event handler to trap the deleted event, the handler is only triggered once the file has been deleted.  I would like to trap the event prior to the file being deleted so I can copy the file to another location similar to a trash can.  Is this possible with the current setup?
Paul Blain 4/9/2008 7:56 PM
Just wondering if this functionality has been planned for a future release?

Thanks
Paul
Paul Blain 5/6/2008 1:33 AM
There is no "before" event for any file operation but I see it may be necessary for delete. I have noted this feature suggestion.
Cem Alacayir 5/6/2008 8:23 AM
FYI, this feature is now included in v1.9:

- Added: The control will now also raise before events: Browsing, Creating, Deleting, Renaming, Copying, Moving, Compressing, Extracting, Uploading and Downloading.
A before event can be canceled with displaying a message to the user. If a before event is canceled, the corresponding action will be canceled and the after event will not be fired.
Cem Alacayir 3/22/2010 3:38 PM