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?
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?
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?
Ignore me...the issue in the end was that I did not inherit ITaskReturnUrl in the class =)
is working on a reply...