Declined
Last Updated: 25 Oct 2021 06:18 by ADMIN
Andrew
Created on: 04 Sep 2013 16:15
Category: Data Source
Type: Feature Request
5
DataSource should not fire "change" event on a 304 response
The success() function in the DataSource should check the response status. If the status is 304 "Not Modified", that indicates that the data has not changed and so the DataSource should not modify its internal data structures nor fire the "change" event.
1 comment
ADMIN
Ianko
Posted on: 25 Oct 2021 06:18

Hi Andrew,

The DataSource uses jQuery AJAX under the hood for handling async requests and with 304 headers in the request, all callbacks and promises are resolved as successfully finished requests. Therefore, without having the separation within the jQuery.ajax method to somehow separate 2xx and 3xx responses there os no reliable way to handle that as a built-in option in the DataSource.

Regards,
Ianko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.