Quick start: How to create a page bound context menu |
Create a page-bound context menu
Use the following steps to create a page-bound context menu in Visual Studio.
-
Drag an EO.Web
PageContextMenu 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;
-
Right click the menu, select Menu Builder
from the designer context menu to start Menu Builder;
-
In the Template
tab, choose one of the built-in templates and click "Create from selected
template" button.
-
In the Menu tab, select the root node (PageContextMenu
). You can specify the menu to be a horizontal menu or vertical menu by setting
the Orientation
property to either "Horizontal" or "Vertical";
-
In the same Menu tab, click on items
node. Click New Item
button on the toolbar a few times to create a few new navigation items;
-
In the same Menu tab, select the navigation items you just
created, modify their Text
property;
-
You can switch to the Preview tab to preview the result. Click
OK to confirm the changes.