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
85
How to combine multiple UltraToolbarsManagers into a "single" popup context menu?
posted

I have been researching various approaches to this problem... and have located a few different workflows, but wanted to check if anyone has come up with elegant solutions?

We have a ultratab control which is docked at the top of a form.  Each page of the tab control has a ultratoolbarmanager docked within.  However, only "one" of the toolbar managers can display a context menu... and have read that the Infragistics toolbar manager does not support multiple toolbar managers into a single context.

The general approach appears to be collecting all of the controls into an additional toolbar... and then displaying it as a context.  However, for reasons that will take a little more explanation, this get's a little tricky in our implementation.

Any tips on how to approach this will be greatly appreciated! 

  

 

  • 44743
    posted

    You can try to use one big toolbars manager for all tab in the tab control. You can also define a different toolbars manager which defines copies of the tools for the "merged" context menu and the ToolClick code for those tools just delegates off to methods for the ToolClick handlers of their corresponding tools.