I have a Grid binded to a DataSource.
I handle the DataSource Error event this way:
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 ?
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 ?