Should I delete backend data in the CanFileBeDeleted event handler?

No; the CanFileBeDeleted event handler is only used to check whether or not a file can be deleted. There's no guarantee that the file actually will be deleted after such a check occurs (for example, the file might just be placed in the Recycle Bin, which is a move operation rather than a delete operation).

We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at