Multiple requests on delete

2 posts, 0 answers
  1. Juremir
    Juremir avatar
    5 posts
    Member since:
    Jan 2012

    Posted 26 Jan 2014 Link to this post

    i'm having trouble with kendo ui events handler.
    When an error has been throwed from controller to the request response, the error is showed on an alert, like this:

          .Events(e => e.Error("error")
    //another declarations
    function error (args){
       if (!args) return;
       if (args.errors) alert(args.errors)

    The problem is when the delete request is make again, the grid makes the requisition again, and keep maintaining the request makes before, doing multiple requests.

  2. Alexander Popov
    Alexander Popov avatar
    1436 posts

    Posted 29 Jan 2014 Link to this post

    Hi Juremir,

    Basically the DataSource will retry failed operations either until they succeed or until the cancelChanges method is invoked.

    Alexander Popov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top