I'm going to add some new menu items through the TreeControllerBase.MenuRendering.
What is the most lightway method of finding out which doc type composites the current rendering is for in the component.
public void Initialize()
{
TreeControllerBase.MenuRendering += TreeControllerBase_MenuRendering;
}
private void TreeControllerBase_MenuRendering(TreeControllerBase sender, MenuRenderingEventArgs e)
{
//code stuff here
}
I can see nodeid exists on the MenuRenderingEventArgs but that would mean I have to fetch content for each rendering and I would prefer not to do that if at all possible.
MenuRendering on specfic doc types.
I'm going to add some new menu items through the TreeControllerBase.MenuRendering.
What is the most lightway method of finding out which doc type composites the current rendering is for in the component.
I can see nodeid exists on the MenuRenderingEventArgs but that would mean I have to fetch content for each rendering and I would prefer not to do that if at all possible.
is working on a reply...