Grand tool to customize web site menu structure!
A menu control allows hierarchal organization of elements associated with commands
and event handlers. In a typical Microsoft Windows application a menu bar contains
several menu items (such as Home, Insert, etc.). Each menu item displays a collection
of menu items which can be expanded to perform a specific action when clicked on.
A menu contains a collection of menu items (such as New, Open, and Close), which
can be expanded to display additional menu items or perform a specific action when
clicked.
Being a great customizable tool WebMenu control is used to display a menu in a Web
Forms page and it is often used in combination with a SiteMapDataSource control
for navigating a web site. The Menu control supports the following features:
- Data binding that allows the control's menu items to be bound to hierarchal data
sources.
- Site navigation through integration with the SiteMapDataSource control.
- Programmatic access to the WebMenu object model to create menus dynamically create
menus, populate menu items, set properties, and so on.
- Customizable appearance through themes, user-defined images, styles, and user-defined
templates.
When the user clicks a menu item, the Menu control can either navigate to a linked
Web page or simply post back to the server. If the Navigate URL property of a menu
item is set, the Menu control navigates to the linked page; otherwise, it posts
the page back to the server for processing. By default, a linked page is displayed
in the same window or frame as the Menu control. To display the linked content in
a different window or frame, use the Target property of the Menu control.
Test it now!