Rank: Advanced Member Groups: Member
Joined: 12/24/2008 Posts: 43
|
Hi
I have a couple of context menus on a page which would share some common submenu items, for example, a "General" submenu.
Rather than defining these options in each of the context menus, I would like to create a context menu for the common items, and then refence this menu by using a CustomItem which hosts this common context menu.
I can then refer to this CustomItem from each of the context menus which share the common menu item.
Is this possible?
I have tried and whilst I can do everything I have mentioned, when it comes to running the application, the submenu item which hosts the CustomItem does not display the child context menu when I show expand that node on the parent context menu.
Any ideas?
Kind Regards Sean
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Try displaying the context menu with eo_ShowContextMenu. That way the menu will not try to automatically associate it with your CustomItem. Rather you would handle the CustomItem's oncontextmenu event and call eo_ShowContextMenu "manually".
Thanks!
|