The DevExpress ASP.NET Grid View (ASPxGridView) context menu is a popup menu displayed when an end-user right-clicks a grid element. The control provides different context menu types for the following elements: row, column header, footer, group footer, and group panel. You can specify the visibility of all context menu types using the Enabled property. To control the menu visibility for a particular element, use the following properties.
By default, ASPxGridView provides a set of context menu items for every menu type. You can customize the default items or add your own custom items. At runtime, you can use the FillContextMenuItems event to customize default menu items and create custom items.
In this demo, the context menu for each element is enabled by setting the Enabled property to true. The server-side FillContextMenuItems event is handled to add an Export item. To process the Export item click, the client-side ContextMenuItemClick and server-side ContextMenuItemClick events are handled.