Welcome Guest Search | Active Topics | Sign In | Register

Is it possible to host a context menu inside a custom item inside a context menu? Options
Sean Clark
Posted: Tuesday, April 7, 2009 5:51:19 AM
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
eo_support
Posted: Tuesday, April 7, 2009 8:32:28 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.