Hi I have a requirement that i need to refresh a MVC view after every 2 seconds , so what approach can i use i have done it using javascript function it works well , but on IE and firefox it gives flickering problem, My view does not contain only the static data instead it is calling a controller method which shows the count of users after every two seconds . below is the approach i am using
function timedRefresh(timeoutPeriod) {
setTimeout(function () {
location.reload(true);
}, timeoutPeriod);
}
---------------
Mark TaborPosted Dec 15, 2019, 12:10 PM
Dr. Akbar Niazi Teaching Hospital
*@TOKEN NUMBER
@customer.Counter_value
Salman BegPosted Dec 15, 2019, 7:16 AM