ComponentOne WebMenus and WebBars for ASP.NET: WebMenus and WebBars for ASP.NET Task-Based Help > C1WebMenu Tasks > Adding Menu Items and SubMenu Items Using C1WebCommandEditor > Adding a Menu Item Below an Existing Menu Item

Adding a Menu Item Below an Existing Menu Item

This topic demonstrates how to use the Append Item method from the C1WebCommandEditor to add a new item above an existing item.

1.   Select Edit from C1WebMenu's context menu. The C1WebCommandEditor –C1WebMenu1 appears.

Note: Two menu items and a submenu item with two items exist.

2.   Select Item2 in the tree view and select the Append Item button in the toolbar or select Append Item from Item2's context menu.

3.   A new menu item appears below Item2. Type Item3 in the textbox and press ENTER. Run the Web Site. A new menu Item3 appears.


Send comments about this topic to ComponentOne.
Copyright © 1987-2009 ComponentOne LLC. All rights reserved.