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

  • Organizations today are under tremendous pressure to deliver a higher quality of products and services at lower costs, and to do so using existing resources. Any expenditure companies do make to help them achieve this goal is expected to deliver a measurable, hard-dollar ROI — and to deliver it quickly. The Internet of Things (IoT) is creating new opportunities for companies to enhance their products, gain business insights and differentiate their offerings. This whitepaper defines an ROI model for …

  • As your content grows, it can be challenging to define the proper rules, regulations and policies that govern that content and ensure proper protection and compliance. Entrusting your content to Box – the only secure, modern content platform in the cloud – is the right first step. The next step is to evaluate your retention, disposition and defensible discovery needs and to establish the proper buy-in to satisfy all your needs. In this Information Governance webinar, learn how Box Governance can add …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date