ComponentOne Menu for ASP.NET AJAX: Menu Creation > Static Menu Creation

Static Menu Creation

A static menu is the simplest way to create the menu structure.

You can use the C1Menu Designer Form designer to build the menu system or you can use declarative syntax in the .aspx file to specify the menu items. To display static menu items using declarative syntax, first nest opening and closing <Item> tags between opening and closing tags of the Menu control. Next, create the menu structure by nesting <asp:MenuItem> elements between opeing and closing <Items> tags. Each <asp:MenuItem> element represents a menu item in the control and maps to a MenuItem object. For more information about the menu designer, see Working with the C1Menu Designer Form. For more information on how to create a static menu using the designer or using declarative syntax, see Create Submenus.


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