ARTICLE

Menu control in ASP.NET

Posted by Rohatash Kumar Articles | ASP.NET using VB.NET November 20, 2010
This article shows how to create menu using menu control in ASP.NET.
 
Reader Level:

This article shows the menu control in ASP.NET.

Menu control

MenuItems typically defines different levels of a hierarchy. Each MenuItem consists of properties that determine the look and feel of the MenuItem (e.g. text, navigateURL, etc). The Menu control conceptually contains two types of Menus:

StaticMenu:

That is always displayed on the page.

DynamicMenu:

That pops out when the user opens a parent MenuItem.

Properties: these are the properties of menu control.

menu1.gif

Figure 1.

For example:

drag a menu control from the toolbox on the form.

menu.gif

Figure 2.

Now set the property items collection of the of menu control. such as 

menu2.gif

Figure 3.

Now click on the OK button and move on the form. Form look like this now.

menu3.gif

Figure 4.

Now save and run the application and move the mouse up the books.

menu5.gif

Figure 5.

Login to add your contents and source code to this article
share this article :
post comment
 
Team Foundation Server Hosting
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
Team Foundation Server Hosting
Become a Sponsor