Hi
I would like to register a specific menu item in my radmenu as a UIExtensionSite. I would like to do something like:
I would like to register a specific menu item in my radmenu as a UIExtensionSite. I would like to do something like:
this.RootWorkItem.UIExtensionSites.RegisterSite("ViewMenu", this.Shell.MainMenu[1].Children);
Where 1 is the index of my view menu on the main menu. I then would like to access and modify this using something like:
RadMenuItem menuItem = new RadMenuItem("GIS");
_presenter.WorkItem.RootWorkItem.UIExtensionSites[UIExtensionSiteNames.ViewMenu].Add(menuItem);
I have implemented a RadMenuAdapterFactory, which handles RadMenu and RadItemCollection (using the appraiser workbench sample), but I'm not sure how to handle this specific case.
Any help would be much appreciated.
Best regards
Marek