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

Delete command executed several times

1 Answer 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bruno
Top achievements
Rank 1
Bruno asked on 29 Mar 2012, 03:47 PM
I have a Grid binded to a DataSource.
I handle the DataSource Error event this way:

error: function (e) {
    alert(e);
    _ds.cancelChanges();
}

I try to delete a row that throws an Exception. The first time, it's ok ; I see the error and the row is back again.
If I try to delete the same row again, I see in Firebug that 2 requests are made, for the same Id.
It I try to delete the same row again, 3 requests are made. etc. etc.

What am I doing wrong ?

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 30 Mar 2012, 09:02 AM
Hello Bruno,

We have identified the cause for the issue you have described and it will be resolved in the next official release of KendoUI. Meanwhile, I have updated your telerik points as token of gratitude for bringing this to our attention.

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