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.