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
1725
What UltraExplorerBar right click events should be fired
posted

I have an UltraExplorerBar with a set of groups. Two of the groups are set to Style of ControlContainer and the control container has another UltraExplorerBar with style set to Toolbox. I then add Explorer bar items to these inner explorer bars dynamically.

The inner explorer bars have set a ContextMenuUltra on my toolbars manager. After all that (if it makes sense) my issue is that I'm not sure what events I should be seeing when a user right clicks on an item in one onf these inner explorer bars.  I've tried hooking the ContextMenuInitializing event and the NavigationContextMenuInitializing events on these inner explorer bars but never see any of the events. The good news is that I do get my context menu to show but the reason I want the events is that in some cases I don't want to cancel the context menu.  I also hooked these same events on the Outer explorer bar and I do get the ContextmenuInitializing event when right clicking on any item in a "normal" group so I'm not sure what I'm missing here. Is there some other event that I should be using here?

Thanks

Neil

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello Neil,

    I believe that you could hook to the 'ToolClick' event of the 'UltraToolbarsManager' and run the desired code in there.

    Please do not hesitate to ask if something comes up.

Children
No Data