views:

171

answers:

0

Hi all,

I am using TinyMCE for CMS in ASP.NET that I develop. I am writing a plugin that enables the user to upload an image from his file system to the server. When the image is loaded I save additional details, related to the image ,in the database.

I want take some actions in the server if an image is deleted (Image is deleted by selecting the image and pressing any key or by the delete button or by an undo button).

Can someone tell my please what can I do in order to catch the delete event so I can write an event handler.

(1.There is an onUndo event for the undo action(link text) but I do not know how do I know that current undo is related to an image insertion. 2. I do not know whats the event when an image is deleted by selection and key press)

Thanks