Copied to clipboard

Flag this post as spam?

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


  • Dave 14 posts 35 karma points
    Jan 23, 2014 @ 17:45
    Dave
    0

    Context menu on custom tree

    I would like to add a delete option onto my custom tree nodes, simply to call a delete action in the controller for the associated objects that the node represents - I can add the delete option but obviously it is not hooked up to hit my controller action to delete the data, can someone point me in the right direction? Where can I edit this?

  • Dave 14 posts 35 karma points
    Jan 24, 2014 @ 11:49
    Dave
    0

    I have made progress by using the video here: http://umbraco.com/help-and-support/video-tutorials/developing-with-umbraco/custom-sections,trees-and-pages/setting-up-create-and-delete/TVPlayer - but it does not work. The new task class is called but the actual Delete method never gets hit and the PArentId object is not populated - it must be working as the class is being called!? Any clues?

  • Dave 14 posts 35 karma points
    Jan 24, 2014 @ 12:00
    Dave
    0

    Ignore me...the issue in the end was that I did not inherit ITaskReturnUrl in the class =) 

Please Sign in or register to post replies

Write your reply to:

Draft