We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to save data in server while batch editing is enabled

Platform: ASP.NET MVC |
Control: Grid |
Published Date: January 23, 2015 |
Last Revised Date: August 6, 2015 |
.NET Framework: 4.5.1 |
Product Version: 12.4.0.24

Essential JavaScript Grid allows option to perform server side batch editing. This can be enabled by using the UrlAdaptor/RemoteSaveAdaptor in grid datasource and by specifying the URL to the batch operation. While performing batch editing, the needed information will be send to server through as AJAX post request.

In the following code snippet, we have demonstrated batch editing operation using UrlAdaptor.

Grid Initialization

 JS

 

 MVC

 

The action in which, the batch save operation is performed is as follows.

 

ASPX

 

In Webforms, the batch operation can performed in the Webmethod, please refer the below code snippet.

 

Result

Figure 1: Grid with batch editing

The POST request and response to the server during the batch processing will be as follows.

 

Figure 2: Batch request send to the server with edited data information on save operation.

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon