In umbraco if you create a new tree to be shown in a section, it's automaticly granted the follwoing option create, and it's content can be deleted. I however have a tree where I don't want to be able to create or delete anything from the umbraco back office. Anyone got an idea on how to dissable the create and delete options when right click the representitve of a tree and it's content.
Removing the create and delete option in umbraco
Greetings once again
In umbraco if you create a new tree to be shown in a section, it's automaticly granted the follwoing option create, and it's content can be deleted. I however have a tree where I don't want to be able to create or delete anything from the umbraco back office. Anyone got an idea on how to dissable the create and delete options when right click the representitve of a tree and it's content.
Thank you on advance
Christoffer
yup, it's quite simple... when you're adding the node to the tree on Render(), use
which will remove the actions from the context menu.
If you wish to add your own, use:
or
Cheers,
/Dirk
Again thx Dirk, I knew there would have to be some simple way to do it, unfortunatly google weren't my friend in this case :)
is working on a reply...