I have an UltraGrid conext menu class which builds right-click menus. They behave as expected except for one problem: Whenever a secondary menu is opened and closed (by mousing back to the primary parent dropdown menu after the secondary menu has opened) the entire context menu immediately dissappears.
Any thoughts on what might be causing this?
Thanks,
Douglas
Hello Douglas,
I am not sure what can cause this, except that probably the whole menu is detecting the closing event and didn’t determine that the sub menu should be closed only. Can you please give me more information how you create the submenu and how you populate the items in it. Also how you attach it to the gird and which events you are handling? Thank you.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
I just wanted to know if you was able to solve this issue. Did you still experience the same issue, can you please show me some code how you create the menu. I will gladly look what may be wrong. Thank you.
Hello Dimi, we have noticed same problem. It occurs when the second level menu is forced to display at the left side of first level menu (when the first level menu is too close to the right side of screen). The second level menu gets wrong (smaller) width when you return mouse cursor from 2nd menu back to 1st menu or when you click at parent item in 1st menu while the 2nd menu is displayed. If there is enough space to display 2nd menu at the right side of 1st menu, everything works fine. Version of tested Infragistics components: 9.1.20091.2012
Hi delinfo, As far I can see form the image you are using WinTree control, or I no seeing correct? I am not reproducing this behavior with the standard context Menu of the control. Also I am recommending you to get the latest service release for 9.1 which is 9.1.20091.2094. If you are still able to reproduce this issue I will like to take a look at a sample demonstrating this in order to have more information about your scenario. Let me know if you have any further questions.Sincerely,DimiDeveloper Support Engineer, MCPD Infragistics, Inc.www.infragistics.com/support