ComponentOne Menu for ASP.NET AJAX: Menu Types > Context Menu

Context Menu

The C1Menu control can be used to create a context menu by setting two simple properties: ContextElementID and ContextMenu properties. When the ContextMenu property is set to true it has the C1Menu control behave as a context menu (also known as shortcut menus).

Context menus appear on the screen in response to a right-click of the mouse. They commonly hold used commands (menu items) for a specific area of an application.

Usage of the Context Menu Control

C1Menu’s context menu can be associated with any HTML or Web control by assigning the ID of the control you wish to associate it with to the ContextElementID property.

Context Menu Layout

The default orientation for a context menu is vertical.

 

Context Menu Example

To see how to create a context menu and associate it with a control see, Create a Context Menu and Attach it to a Control.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.