Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
any idea ??
You need to use the notificationsService with Angular.
Theres a blogpost showing most of what you need here: https://24days.in/umbraco-cms/2014/umbraco-angular-tips/
thank you for the replay Søren,
I've read the article but I didn't figure out how to use the Angular notificationsService when all my code is written in C# in ApplicationEventHandler Published Event handler.
any idea, I'm lost,
Its not possible to show the kind of alerts you are after in C#. the notificationService only shows 'advice' to the user, but no interactions.
If you want to cutomises the UI of ther backoffice you will need to get your angular on. Give it a bash, its steep leaning curve for a backender but tus good fun!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted