Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Bulk updates in AJAX eanabled WebGrid
posted

Hi,

Is it possible to execute a bulk update in the WebGrid using Ajax instead of 1 row at a time.

Basically I want the users to be able to modify multiple rows, add new rows, even delete rows then only execute the change when the user presses the Save button.

I have tried putting it into a WARP panel and that seems to work for the most part, but there are some problems with exception handling using an ObjectDataSource, when I set the e.ExceptionHandled value to true, the WebGrid throws some strange Debug error and when you press the debug botton on it, it does nothing.

I'm using 7.3 build 1043

 

Thanks in advance.

Parents
  • 480
    posted

     You can simple bind the data in the grid without any event of the grid...

     when the user clicks the save button, you go through the grid like grid.Rows and then send this new data source for the server

     

    If that is not what your looking for try infragistics examples in http://samples.infragistics.com/2007.3/webfeaturebrowser/default.htm

    grid -> row updating 

     

Reply Children