Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 832856 - Last Review: April 29, 2007 - Revision: 1.7
The Microsoft guide to building an ASP.NET menu server control
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:
Collapse this imageExpand this image
Download
the MenuControlSample.msi package
now.
(http://download.microsoft.com/download/c/5/8/c586aafb-9bba-4b9e-870a-1283b4b84571/menucontrolsample.msi)
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Â
(http://kbalertz.com/Feedback.aspx?kbNumber=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.
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. - Conclusion
This section summarizes the guide. This section also mentions
that the development of the skmMenu control is open-source.
For more information, visit the following Microsoft
Developer Network (MSDN) Web site:
For more information, visit the following Web sites:
APPLIES TO
- Microsoft ASP.NET 1.1
- Microsoft ASP.NET 1.0
| kbdownload kbhtml kbscript kbmenu kbtable kbcontrol kbservercontrols kbinfo KB832856 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate