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

2 posts, 1 answers
  1. Mike
    Mike avatar
    1 posts
    Member since:
    Nov 2013

    Posted 11 Nov 2013 Link to this post

    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!
  2. Answer
    Rosen
    Admin
    Rosen avatar
    3253 posts

    Posted 12 Nov 2013 Link to this post

    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!
Back to Top