Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
HI all,
I created a custom section page and I need to disable the "create" and "reload" nodes that appear when we right click on the Root Node.
I used
rootNode.Menu.Clear();
but its not disabling.. but the same works on the tree nodes. Is there anything i need to code for this to happen?
Thanks
Narendranath
Have noticed that as well, didn't really look for the cause, just found a workaround by overriding the CreateRootNode() method and using:
RootNodeActions.Clear();
RootNodeActions.AddRange(new List<IAction>() {ActionRefresh.Instance});
Hope this helps.
Regards,
/Dirk
Excellent!! that worked Dirk
Naren
Hello,
i try to do this but not work in my custom tree. :( Any suggestion?
Umbraco 4.7.0. on sql server 2008 windows server 2008 .NET 4
is working on a reply...
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.
Continue discussion
Clear Menu actions of Root Node on the custom section
HI all,
I created a custom section page and I need to disable the "create" and "reload" nodes that appear when we right click on the Root Node.
I used
rootNode.Menu.Clear();
but its not disabling.. but the same works on the tree nodes. Is there anything i need to code for this to happen?
Thanks
Narendranath
Have noticed that as well, didn't really look for the cause, just found a workaround by overriding the CreateRootNode() method and using:
RootNodeActions.Clear();
RootNodeActions.AddRange(new List<IAction>() {ActionRefresh.Instance});
Hope this helps.
Regards,
/Dirk
Excellent!! that worked Dirk
Thanks
Naren
Hello,
i try to do this but not work in my custom tree. :( Any suggestion?
Umbraco 4.7.0. on sql server 2008 windows server 2008 .NET 4
Thanks
is working on a reply...
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.