UPDATED:
Starting with version 13.2, the ASPxGridView control offers the basic "Batch Editing Mode" functionality that allows accomplishing a similar task with less effort and does not require so much extra code. See the ASP.NET WebForms & MVC: GridView Batch Edit blog post to learn more about this new functionality.
Starting with version 14.1, the ASPxGridView control offers advanced "Batch Editing Mode" programming options.
You can find a standalone DB-independent solution in our Code Examples base at:
ASPxGridView - A simple Batch Editing implementation
If you have version v14.1+ available, consider using the built-in functionality instead of the approach detailed below.
If you need further assistance with this functionality, please create a new ticket in our Support Center.
If you don't want database transactions to take place after each end-user action, you can implement on-demand data posting mechanism.
This means, that all data changes will not be immediately sent to the database, but instead will be accumulated within the current user session.
When needed, end-users can press the Post All Data button to send changes to the database.
This approach can make your web site much more responsive, if users need to add or update multiple records during a session.
See Also:
How to update a Boolean field using the ASPxGridView selection
How to perform ASPxGridView instant updating using different editors in the DataItem template
Question Comments
Added By: Pornsak Tangsujaritvijit at: 5/14/2012 8:24:15 AM
Can you convert to asp.net mvc ?
Added By: Alex Bakht 2 at: 8/18/2013 3:39:30 PMHello,
First of all, it references DevExpress.Web.ASPxEditors.v8.1 and refers to v2013 vol1.4-v2013 vol 2.1.
the line
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="BatchUpdate" %>
The Visual Studio does not like the Inherits="BatchUpdate" part.
Can you kindly send this project to me?
Thank you.