I have a kendo grid and i want to refresh the grid in every 5 minutes with alert that the grid will be refreshed.I tried below code but the popup is coming multiple time.
function showGrid()
{
----
----
refreshQueue();
}
refreshQueue()
{
window.setInterval(function () {
alert("Your session has expired, and grid will be refreshed with the latest data.");
$("#queueList").data("kendoGrid").dataSource.read();
}, 600000);
}
Can anyone help me on this?