Table of Contents
Quick start: How to create an element-bound context menu

Create an element-bound context menu

Use the following steps to create an element-bound context menu in Visual Studio:
  1. Drag an EO.Web ContextMenu control from the toolbox and drop it on the page. If you can not find EO.Web menu control in Visual Studio's toolbox, please refer to Installation guide;
  2. Right click the menu control, select Menu Builder from the designer context menu to start Menu Builder;
  3. In the Skin tab, choose one of the built-in skins to start from. The right pane displays the rendered result of the skin menu. If you do not want to use a skin, you can switch to Menu tab directly;
  4. In Menu tab of menu builder, select the root node. By default, the context menu is vertical;
  5. Set the ContextControlID to the ID of the HTML element that this menu is bound to. Even the ContextControlID drop down only displays the IDs of all server controls, the menu can be bound to any valid DHTML element.
  6. Click Items node. Click New Item button on the toolbar a few times to create a few new navigation items;
  7. Select the navigation items you just created, modify their Text property;
  8. You can switch to the Preview tab to preview the result. Once you are satisfied, click OK to confirm the change.