Show a confirmation message in the backoffice ApplicationEventHandler

hello everyone,

I need an urgent help,

I’m trying to show the content editor a confirm message with ‘yes’ and ‘cancel’ options when deleting or Published events, I’ve tried “NotificationService” but I didn’t know how to use it and I couldn’t find an example on the internet.

I’ve accomplished :

e.Messages.Add(new EventMessage("My message title", "My message", EventMessageType.Error));

but that is just a notification message.

can anyone Help me?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/95026-show-a-confirmation-message-in-the-backoffice-applicationeventhandler