ASP.NET: GridView Batch Edit Enhancements (Coming soon in v14.1)

ASP.NET Team Blog
31 May 2014

The popular DevExpress ASP.NET GridView Batch Edit feature just got better with the v14.1 release! We've added two popular requests for batch editing:

  1. Template support - The layout and appearance of grid cells can be customized via templates in Batch Edit mode
  2. Client-Side API - Gives you the ability to specify when validation is performed in Batch Edit mode - on modifying a cell's value or on saving changes

DevExpress ASP.NET GridView - Batch Editing

What is Batch Editing?

Batch editing is a great feature for your end-users because:

The Batch edit mode speeds up the grid control's performance by eliminating excessive data updates. The main objective is to update the grid control only once - after all the necessary changes have been made. In this demo, end-users can modify data on the client side and send it to the server in a single request.

1. Edit Template Support

One of the most popular requests when we released the Batch Editing feature was support for ASP.NET Templates. Templates are a great way to customize DevExpress controls even further. And now, you can use the EditTemplate with Batch Editing!

DevExpress ASP.NET GridView - Batch Edit Template

2. Client-Side API

We've added client-side API methods and events to give you more control on the client-side and make validation easier with the DevExpress GridView's Batch Edit mode.

The new client-side StartEdit and EndEdit methods have been implemented. In Batch Edit mode, you can use these methods on the client side to programmatically switch a grid element (a data cell or row due to the BatchEditSettings.EditMode setting) from the browse mode to the edit one and back.

We've also created a pair of the client-side BatchEditStartEditing and BatchEditEndEditing events which are raised when the grid enters or leaves the edit mode.

ASP.NET WebForms and MVC

The new features are available in both the DevExpress ASP.NET GridView control and MVC GridView extension for the v14.1 release.


Your Next Great .NET App Starts Here

Year after year, .NET developers such as yourself consistently vote DevExpress products #1.

Experience the DevExpress difference for yourself and download a free 30-day trial of all our products today: DevExpress.com/trial (free support is included during your evaluation).

5 comment(s)
Abedualrrhman honeesh
Abedualrrhman honeesh

Thank you

31 May, 2014
Joëlle Perritaz
Joëlle Perritaz

That's good to see the batch editing mode getting better and better ! : )

I really hope you have still plan to implement this mode for XAF !

1 June, 2014
Dennis (DevExpress)
Dennis (DevExpress)

@Joelle: Thanks for your feedback. This item is on our TODO list, but it has not yet gotten sufficient priority to be implemented for a specific release. In any event, XAF enables you to reuse this control's features yourself:

help.devexpress.com

In addition, we have the E4610 code example that you may find helpful.

2 June, 2014
Gregory Lange 1
Gregory Lange 1

I can't seem to find where i can hook into the save changes button to have it execute code i made.

6 January, 2015
Mehul Harry (DevExpress)
Mehul Harry (DevExpress)

Hi Greg,

I recommend contacting the DevExpress support team and they can help you:

www.devexpress.com/.../Create

Thanks.

6 January, 2015

Please login or register to post comments.