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

External Edit Form

New
Product Name 
Category 
Quantity Per Unit 
Unit Price 
Units In Stock 
Discontinued 
Edit DeleteChaiBeverages10 boxes x 20 bags$18.0039
Edit DeleteChangBeverages24 - 12 oz bottles$19.0017
Edit DeleteAniseed SyrupCondiments12 - 550 ml bottles$10.0013
Edit DeleteChef Anton's Cajun SeasoningCondiments48 - 6 oz jars$22.0053
Edit DeleteChef Anton's Gumbo MixCondiments36 boxes$21.350
Edit DeleteGrandma's Boysenberry SpreadCondiments12 - 8 oz jars$25.00120
Edit DeleteUncle Bob's Organic Dried PearsProduce12 - 1 lb pkgs.$30.0015
Edit DeleteNorthwoods Cranberry SauceCondiments12 - 12 oz jars$40.006
Edit DeleteMishi Kobe NikuMeat/Poultry18 - 500 g pkgs.$97.0029
Edit DeleteIkuraSeafood12 - 200 ml jars$31.0031
Page 1 of 8 (77 items)Prev12345678Next


This demo illustrates data editing options available to you when using the DevExpress MVC Grid View.

The MVC Grid View can include a column with links that execute Delete, Insert and Edit operations. The SetDataItemTemplateContent method is used to assign a specific template to the column. Editing data is performed within a specially designed page. This page contains the appropriate DevExpress editors for each Grid View column. Note that this demo also illustrates how model validation can be used together with DevExpress MVC Editors. The data model is decorated with custom validation attributes and both server-side and client-side validation code is added - allowing error messages to be automatically displayed in the browser near editors when client-side validation fails.

The ClientLayout method delegate is used to maintain the Grid View's state as a user navigates between the grid and the data edit page.