Copied to clipboard

Flag this post as spam?

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


  • Bjørn Fridal 274 posts 784 karma points
    Nov 17, 2009 @ 18:52
    Bjørn Fridal
    0

    Responding to legacyAjaxCalls.asmx/Delete

    Hi,

    I am making some user notifications on different document events. The notifications are similar to the Umbraco Speech Bubble and I show them via RegisterClientScriptBlock().

    I wanted to show a notification on Document.AfterDelete. I thought I was good to go untill I realised that Umbraco deletes documents with the umbraco/webservices/legacyAjaxCalls.asmx webservice. Therefore RegisterClientScriptBlock() is no longer efficient.

    Is there any other way I could show a message to the user?

  • Aaron Powell 1708 posts 3044 karma points c-trib
    Nov 17, 2009 @ 23:26
    Aaron Powell
    0

    Unlikely, you've probably got to modify the javascript to do a callback to your own method if you want to do notifications

  • Bjørn Fridal 274 posts 784 karma points
    Nov 18, 2009 @ 11:32
    Bjørn Fridal
    0

    Yeah, I didn't really think it would be possible either, but had to ask.

    Modifying the javascript is an option but since I am planning to release it as a package, I really would like to avoid fiddling with existing Umbraco files.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies