This is a migrated thread and some comments may be shown as answers.

Save multiples radGrid in batch edit

1 Answer 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Santi
Top achievements
Rank 1
Santi asked on 01 Mar 2015, 04:46 PM
Hello,

I have four radgrids in a modal radwindow. In the top of the modal i have four buttons (one button for grid) which function is show the grid if you click in the button (if you click in grid1 button the grid1 shows). I need to fire the save changes of the batch edit manager when you click on the button for change to show another grid but i already need to hide the radgrid. Only one grid is shows and when you change all the grids save changes.

How can i do this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 04 Mar 2015, 12:43 PM
Hello,

You can call the client-side API to save each grid. See http://www.telerik.com/help/aspnet-ajax/grid-batch-editing.html.

In JS, for the Save button, you can do something like

grid1.get_batchEditingManager().saveAllChanges();
grid2.get_batchEditingManager().saveAllChanges();
for each grid.


Regards,
Maria Ilieva
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Santi
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or