Change Theme Settings
Change Theme Settings
Show All Themes

Batch Editing and Updating

Product Info
Product Name
ChaiChangAniseed SyrupChef Anton's Cajun SeasoningChef Anton's Gumbo MixGrandma's Boysenberry SpreadUncle Bob's Organic Dried PearsNorthwoods Cranberry SauceMishi Kobe NikuIkura
Category Name
Exotic LiquidsExotic LiquidsExotic LiquidsNew Orleans Cajun DelightsNew Orleans Cajun DelightsGrandma Kelly's HomesteadGrandma Kelly's HomesteadGrandma Kelly's HomesteadTokyo TradersTokyo Traders
Quantity Per Unit
10 boxes x 20 bags24 - 12 oz bottles12 - 550 ml bottles48 - 6 oz jars36 boxes12 - 8 oz jars12 - 1 lb pkgs.12 - 12 oz jars18 - 500 g pkgs.12 - 200 ml jars
Unit Price
Units In Stock
Page 1 of 8 (77 items)Prev12345678Next
Save changes
Cancel changes

The DevExpress ASP.NET Vertical Grid control allows end-users to edit and update multiple grid columns on the client side and send them to the server in a single request.

To enable the batch editing functionality, set the SettingsEditing.Mode property to Batch, so the control data contained in a page can be edited using in-line editors. The modified cells are colored in green. Deleted records are highlighted with gray and display the 'Recover' command item. To hide the deleted records from the view, set the SettingsEditing.BatchEditSettings.HighlightDeletedRecords property to false. All changes are maintained on the client side until the Save changes link is clicked. You can cancel all changes by clicking the Cancel changes link.

If a control contains modified data, it displays a confirm message before a callback or postback is performed.

In this demo, use the Start edit action combo box (“Click” or “Double click”) to specify the action that should be used to begin editing data.

The VerticalGrid validates user-input on the client-side based on the data annotation attributes of your Model. This approach is also called unobtrusive client validation. To enable the unobtrusive validation, the partial View with the VerticalGrid extension is placed inside the HTML <form> element (rendered via the Html.BeginForm helper). The Partial View with the VerticalGrid extension contains two helpers that enable the unobtrusive client validation: Html.EnableClientValidation and Html.EnableUnobtrusiveJavaScript. An error is displayed next to the individual data editors.