Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
700
ContextMenu merging
posted

Hello,

Here's the scenario.

On a Windows form I have some editor controls (UltraTextEditor, UltraNumericEditor, etc.).  On this form I have two ToolbarManagers.  I have the ContextMenu on ToolbarManager1 property on the editors set at design time.  I am setting the ContextMenu on ToolbarManager2 property on the editors at runtime using:

ToolBarManager.SetContextMenuUltra(Editor, "RequiredFieldManager")

 

I have MergeOrder set to 0 and MergeType set to MergeItems on both PopupMenu Tools.

Here is the problem: I only get the context menu items from the context menu set at run time and not the one set at design time.  How can I work around this so I can see context menu tools from both?