Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
Show All Themes
v
...v

Context Menu

Category Name Descending
Product Name 
Quantity Per Unit 
Unit Price 
Units In Stock 
Discontinued 
ExpandCategory Name: Seafood (Min=$6.00, Max=$62.50)
CollapseCategory Name: Produce (Min=$10.00, Max=$53.00)
 Longlife Tofu5 kg pkg.$10.004
 Manjimup Dried Apples50 - 300 g pkgs.$53.0020
 Rössle Sauerkraut25 - 825 g cans$45.6026
 Tofu40 - 100 g pkgs.$23.2535
 Uncle Bob's Organic Dried Pears12 - 1 lb pkgs.$30.0015
   Sum=$161.85  
ExpandCategory Name: Meat/Poultry (Min=$7.45, Max=$123.79)
ExpandCategory Name: Grains/Cereals (Min=$7.00, Max=$38.00)
ExpandCategory Name: Dairy Products (Min=$2.50, Max=$55.00)
   Sum=$2,222.71  
Page 1 of 2 (13 items)Prev12Next

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.