Free Trial Buy Now

Menu - Popup Menu

ID
Country Name
Area
Population
1Argentina277781532300003
2Bolivia10985757300000
3Brazil8511196150400000
4Canada997614726500000
5Chile75694313200000
6Colombia113890733000000
7Cuba11452410600000
8Ecuador45550210600000
9El Salvador208655300000
10Guyana214969800000
Page 1 of 2 (18 items)
Prev
1
2
Next
v
v
v

Description

This demo demonstrates some of the features available to you when using the ASPxPopupMenu control.

A popup menu can be associated with a specific control using the PopupElementID property. The menu is invoked automatically when a specific action (a left or right mouse click or mouse hovering) defined by the PopupAction property, is performed within the associated control.

In this example, the ASPxPopupMenu control is linked to an image. The popup menu is displayed by an action specified within the PopupAction dropdown editor. The menu's precise display position with respect to the associated control can be defined by the HorizontalAlign and VerticalAlign combo boxes that control the values of the PopupHorizontalAlign and PopupVerticalAlign properties, respectively.

The popup menu can be invoked programmatically as well. In this demo, the ShowAtPos method is used to display the ASPxPopupMenu control over the grid in response to a right mouse click instead of a client browser's standard context menu.

Note that in this demo, menu items are arranged into a logical group using their GroupName property. In this case, the items function as radio buttons - checking an item unchecks the one previously selected. So, only one menu item in a group can be checked at one time.

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.