I use relations for translating. This works great but if i delete a page in the child tree the language dropdown also relate to this document. How can i delete the relation if the child document is deleted?
I use a Document.BeforeMoveToTrash and a Document.BeforeDelete event handler to get a list of relations and ensure the same happens to them. Watch the videos on events;
delete site - relation problem
Hello,
I use relations for translating. This works great but if i delete a page in the child tree the language dropdown also relate to this document. How can i delete the relation if the child document is deleted?
is there any possibility for it?
I use a Document.BeforeMoveToTrash and a Document.BeforeDelete event handler to get a list of relations and ensure the same happens to them. Watch the videos on events;
http://umbraco.com/help-and-support/video-tutorials/developing-with-umbraco/events/
I would suspect the last one to be a lot of help.
is working on a reply...