Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Steven Newstead 62 posts 103 karma points
    Jul 04, 2011 @ 13:51
    Steven Newstead

    Generating a user error message from an event handler

    Hi all,

    Hopefully a quick question:

    Is it possible to send a message to a user of Umbraco if I've done something in an event handler?

    My example is:

    A user tries to delete a node that has children under it so I stop this in the MoveToTrashEventHandler but would really like to pop something up to inform the user that this has happened. I read that someone tried something like:

    "Error deleting","This item cannot be deleted because it has children under it");

    But this doesn' work :(



Please Sign in or register to post replies

Write your reply to: