A La Carte: Make Highly Customized Menus with Ease in ASP.NET 2.0
In ASP.NET 2.0, Microsoft has added a full-featured Menu control that you can use to display menus statically or dynamically, vertically or horizontally, containing either text or images. Finally, you can stop maintaining your JavaScript-based menus by hand.
by Sreedhar Koganti
December 15, 2004
avigational menus are an obvious requirement for many Web applications, used in nearly every multi-page site, from family sites to multinational e-commerce systems. Until now, developers have relied on third party components or custom code to create and activate browser-based navigational menus; however, maintaining menus manually becomes increasingly difficult as sites grow and change. Even simply adding and deleting menu items or changing fonts and colors can be difficult.
That's about to change. The upcoming ASP.NET version 2.0 includes a navigational menu capability implemented in an easy-to-use and flexible Menu control. This article covers the basics of using the new Menu control, including how to change its appearance, how to bind it to data, and how to cache menus for increased scalability.
It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com. Already a member?
To become a member of DevX.com create your Member Profile by completing the form below. Membership is free!