I am currently using the change event to track when data has changed, but it does not fire when an ajax operation fires. If it did, then i do not think it would fit my needs, because i need to know which operation was successful or failed. I have included a snippet to demonstrate what i am trying to do.
In the read and create operations, I would like to know if i have a success or failure during the ajax request. i used the same properties that i used in an $.ajax call that works. for some reason, kendo is just not calling the callback.
But how do you know what operation happend? If it calls the same success and error handlers for all 4 events? How could I let the user know that his Update succeeded vs his Read succeeded or his Delete?
@Telerik: the datasource change event is triggered too many times. For example, in a grid, as soon as I click on the "Add new record" button, my change function is called... it should be called only when I click on "Save changes"...
Hi,
I did some tests and it seems to me, that "change" function can not be wired with ajax "success", because ajax "success" is triggered after data from url are loaded. But if I trigger read on data source, things in "change" are done immediately, not after url in read is loaded.
But when Nikolay says so... :)