I have an UltraToolbarsManager on an MDI child that I'm using to design popup context menus. One item of the popup menu is a submenu that I want to populate at runtime. I add a tool to the manager for each item I want to add, add it to the popup menu and show the menu using ShowPopup(). However the displayed menu doesn't contain any of the items that I have added.
I have finally worked out that it is because the MDIMergable property of the toolbar is set to true (the default), if I set this property to false then the menu is displayed with the correct items.
Obviously the simple solution is to add two toolbar managers to the form, one for the merged menu and another for the context menus. However I would like to understand this behaviour, especially as I've wasted quite some time to figure it out. It would be helpful if this was documented somewhere (if it is already I couldn't find it...)
Thanks
Martin
Martin,
Take a look at this article from our on-line documentation:
http://help.infragistics.com/NetAdvantage/WinForms/current/CLR2.0/?page=WinToolbarsManager_MDI_Ribbon_Merging.html
Let me know if you have further questions.
Michael S.