I have a UltraTextEditor (txtShouldShow) with its ContextmenuUltra set to a popmenu created and set in design mode. Other UltraTextEditors have (none) for this and none for normal context menu. These controls sit on an UltraPanel which sits on an UltraTab page. UltraPanel control has ContextmenuUltra set to none as does the UltraTab page.
Right click the txtShouldShow pops as the menu as expected.
Right click other text controls, no popup as expected.
Right click on the UltraPanel and the txtShouldShow specific popUp shows up, which it should not, nor any popup;
Go to another tab, click on an Ultra option set Control and the txtShouldShow specific popUp shows,, which it should not, nor any popup;
Click on an ultraGrid on another tab page, with its own specific ContextmenuUltra set, and its own specific popup shows, as expected.
Version 10.3
Hello,
As far as I understand from your latest post you were able to solve your issue.
Thank you for choosing Infragistics.
Yes, the form had the contextment set. Thanks.
Hi,
I just wanted to know if you were able to solve your issue based on Mike's suggestions or you still need help? Just let me know.
Thank you.
The original line of code was applying the context menu to the Form itself, not the UltraToolbarsManager. The Form is represented by the 'this' parameter. So anything you right-clicked on in the Form, unless it had a different context menu, would show the menu "popUpMenuName". Maybe you accidentally had the Form selected instead of ControlName when setting the context menu.