Adding Dynamic Menus with ASP.NET 2.0

Looking for a way to add dynamic pop-out menus to your website?

In ASP.NET 1.0 and Visual Studio 2003 you had only two options — build it yourself in JavaScript or resort to a third-party solution. Fortunately ASP.NET 2.0 and Visual Studio 2005 provide a much better solution — the new Menu server control.

The new menu server control emits the JavaScript necessary to create a great-looking pop-out menu customized to your look-and-feel requirements and provides hierarchical links to all the high-points on your site.

Unfortunately, leveraging this control isn't quite as easy as dropping it on your form.

In this video, you'll learn how to create an XML-based site-map description document that the Menu control can use as its DataSource for displaying menu option links in the appropriate structure. You also discover how to use the built-in styles to customize the colors and fonts used by the menu. In short, you'll have everything you need to take your site navigation to a whole new level.



About the Author

Bill Hatfield

Bill Hatfield is the best-selling author of numerous books for developers, including ASP.NET For Dummies, Active Server Pages For Dummies (on Classic ASP) and Visual InterDev For Dummies. He is also the editor of Visual Studio .NET Developer, a monthly technical journal from Pinnacle. He's an experienced corporate trainer and works in Indianapolis, IN where he also co-founded the local .NET group, the Indianapolis .NET Developers Association.

Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: September 10, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild". This loop of continuous delivery and continuous feedback is …

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds