Last Updated: 18 Jun 2021 08:14 by ADMIN
Barry Burton
Created on: 18 Jan 2019 15:48
Category: Data Source
Type: Feature Request
AutoRefresh DataSource

This is more of a feature request...

If I want to refresh a datasource every 60 seconds, be it a grid, a dropdown, etc., I have to add a snippet of code something like this:

var interval = 60000;


         }, interval);

Yes, I realize this is trivial, but it would be nice if you could add an AutoRefresh function directly to the DataSource API that handled all of this under the covers.  Example:

           .DataSource(dataSource => dataSource
               .Model(model =>
                   model.Id(m => m.StoreId);
               .Read(read => read.Url(Url.HttpRouteUrl("GetData", null)).Data("additionalData"))
               .AutoRefresh(60) // seconds
               .Events(e => e.Error("onError"))
Angel Petrov
Posted on: 18 Jun 2021 08:14


The number of votes for the item seems to be quite low and since the functionality can be easily integrated with custom logic I am declining the item.

Angel Petrov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Veselin Tsvetanov
Posted on: 18 Jan 2019 16:09
Hi Barry,

Thank you for your suggestion. I have just converted the current thread to a feature request in our Feedback portal, so other developers will be able to discuss the idea and support it. I would also suggest you to cast your vote for it.

Veselin Tsvetanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.