The Microsoft guide to building an ASP.NET menu server control (832856)



The information in this article applies to:

  • Microsoft ASP.NET (included with the .NET Framework 1.1)
  • Microsoft ASP.NET (included with the .NET Framework) 1.0

SUMMARY

This article contains information about the Microsoft guide Building an ASP.NET Menu Server Control. This guide describes how to build a Microsoft ASP.NET menu server control. The guide also describes how to use an ASP.NET menu server control in ASP.NET Web applications.

The MenuControlSample.msi sample file is an illustrative example that includes the skmMenu menu server control. The following file is available for download from the Microsoft Download Center:
DownloadDownload the MenuControlSample.msi package now.

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

MORE INFORMATION

Building an ASP.NET Menu Server Control contains the following eight sections:
  • Introduction
    This section introduces the fundamental concepts of a menu, the functionality of a Web-based menu interface, and some sample screens of the skmMenu control.
  • Dynamically Displaying Submenus
    This section discusses how you can use HTML, cascading style sheets, and client-side JavaScript to make menus appear and disappear when a user needs this behavior.
  • Examining the Plumbing of the skmMenu Control
    This section describes the classes that are used to represent a menu, a menu item, and a collection of menu items. The underlying object model to explicitly add or access menu items from a menu is an XML file.
  • Using skmMenu in an ASP.NET Web Page
    This section explains how to add the skmMenu.dll assembly file to an ASP.NET Web project in Microsoft Visual Studio .NET. You can add the skmMenu.dll assembly to the Toolbox, and then you can drag a skmMenu control to the project in Design view. The skmMenu.dll assembly is bound to an XML file that contains the information for the menu hierarchy.
  • Customizing the Appearance of skmMenu
    This section describes the following four properties of the skmMenu class, and how you can use these properties to customize the appearance of a skmMenu control:
    • MenuStyle
    • UnselectedMenuItemStyle
    • SelectedMenuItemStyle
    • Layout
  • Responding to the MenuItemClick Event
    This section describes the behavior of the Click event of each menu item. The Click event either directs you to a URL or raises a PostBack event.
  • Current Known Limitations
    This section explains that the development of the skmMenu control is still in progress, and that users can visit the following Web site to download the latest version of the skmMenu control:
  • Conclusion
    This section summarizes the guide. This section also mentions that the development of the skmMenu control is open-source.

REFERENCES

For more information, visit the following Microsoft Developer Network (MSDN) Web site:For more information, visit the following Web sites:

Modification Type:MinorLast Reviewed:8/4/2004
Keywords:kbdownload kbhtml kbScript kbMenu kbtable kbControl kbServerControls kbinfo KB832856 kbAudDeveloper