Skip to content Skip to sidebar Skip to footer

Auto Partial Page Refresh In Asp.net Without Updatepanel

I want to make auto partial page refresh in asp.net. There is UpdatePanel but it sends too much data. So I've found that I can make a webservice and call it by the JavaScript code.

Solution 1:

Just use the setInterval function:

window.setInterval(function() {
    // code here will be called every 10 seconds
}, 10000);

To reset automatic calls you could use the clearInterval function on the id returned by the setInterval.

Post a Comment for "Auto Partial Page Refresh In Asp.net Without Updatepanel"