Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Context Menu

Category Name Descending
Product Name 
Quantity Per Unit 
Unit Price 
Units In Stock 
Discontinued 
ExpandCategory Name: Seafood
CollapseCategory Name: Produce
 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
ExpandCategory Name: Grains/Cereals
ExpandCategory Name: Dairy Products
   Sum=$2,222.71  
Page 1 of 2 (13 items)Prev12Next


The DevExpress ASP.NET MVC Grid View context menu is a popup menu displayed when an end-user right-clicks a grid element. The GridView extension 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 SettingsContextMenu.Enabled property. To control the menu visibility for a particular element, use the following properties.

By default, GridView 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 ContextMenuInitialize property to process the customization of default menu items and creation of custom items.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxGridViewDemos