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

Kendo Grid, batch mode, determine when server side save is complete

1 Answer 110 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 11 Nov 2013, 07:50 PM
Hello all! We have a KendoGrid on our MVC view, and it works great - the only question is when a user clicks the Save Changes button, how does the UI know when that action is complete if it is an AJAX request?  In our case the grid is bound to server generated data, with Add and Save buttons in the tool bar.  When a user enters invalid data into the grid as determined by the data annotations on the model, it works and shows the errors. We have no way of knowing if a successful save occurred though from what i've seen. Any ideas?

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 12 Nov 2013, 09:10 AM
Hello Mike,

When the server response of a CUD operation is received, the DataSource will trigger change event with the action parameter value equal to sync and than  the sync event will be raised. As you have already noticed, if meanwhile an error occur, the error event will be raised.

Regards,
Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Mike
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or