Blogs

News

Email Subscriptions

Mehul Harry's DevExpress Blog

ASP.NET MVC & WebForms: Multi-Row Editing Gridview With Instant Updates using jQuery Ajax

     

Check out these 2 great Code Central examples that show you how to enable multi-row editing with instant updates using Ajax callbacks.

And you can do it in both ASP.NET MVC and ASP.NET WebForms!

ASP.NET MVC

In this sample, we use the DevExpress MVC GridView and TextBox Extensions together with the jQuery Ajax method to instantly update changes. Using our our ASPxClientEdit.ValueChanged event as a trigger, we call the jQuery.ajax method to save the changes on the server side.

Multi-row Editing GridView

Code Central Sample:

ASP.NET MVC - How to perform GridView instant updating using different editors in the DataItem template

ASP.NET WebForms

In this sample, we use the DevExpress ASPxGridView and it's built-in callback support to update the changes made on the client-side instantly to the server side.

ASPxGridView Multi-row editing

Code Central Sample:

ASP.NET WebForms - How to perform ASPxGridView instant updating using different editors in the DataItem template

 

Check out the How-To samples above on Code Central. Then drop me a line below with your thoughts. Thanks!

Build Your Best - Without Limits or Compromise

Try the DevExpress ASP.NET MVC Extensions online now: http://mvc.devexpress.com

Read the latest news about DevExpress ASP.NET MVC Extensions

Download a free and fully-functional version of DXperience now: http://www.devexpress.com/Downloads/NET/

Follow MehulHarry on Twitter

Published Jun 29 2011, 08:25 AM by Mehul Harry (DevExpress)
Bookmark and Share

Comments

 

Vest (DevExpress Support) said:

Wow! I became famous :-D

June 29, 2011 2:12 PM
 

Mehul Harry (DevExpress) said:

Thank you Vest for making these nice examples. :)

June 29, 2011 2:46 PM
 

Peter Thorpe said:

Thanks I was looking through examples of how to do this literally yesterday. This example is much cleaner and more re-usable than the other examples.

June 29, 2011 6:02 PM
 

Dmitry Dobrovolsky_1 said:

That's cool!

June 30, 2011 7:38 AM
 

Alain Bismark said:

Great,

How we can integrate this XAF ??

Best regards

June 30, 2011 10:14 AM
 

Dennis (DevExpress Support) said:

Hi Alain,

There are several options for you:

1. Customize the default List Editor control (ASPxGridView) via a controller. The following help articles will come in handy to get started:

www.devexpress.com/example=E1671

documentation.devexpress.com

2. Create a custom List Editor based on a customized ASPxGridView control. Check out the following help article for more information:

documentation.devexpress.com

3. Embed a custom user control with ASPxGridView into a standard XAF form.

Refer to the www.devexpress.com/kb=K18117 KB Article for more information.

July 5, 2011 7:10 PM

About Mehul Harry (DevExpress)

Mehul Harry is an ASP.NET technical evangelist at Developer Express. You can reach him directly at mharry@DevExpress.com. You can also follow him on Twitter: http://twitter.com/mehulharry
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.