I am working on a web page that operates on a 60-second timer. The code snippet below is responsible for updating the content:
protected void RefreshButton_Click(object sender, EventArgs e)
{
ReportRepeater.DataBind();
ReportUpdatePanel.Update();
}
This web application will be running in a "kiosk" mode on a tablet and will be used solely for viewing purposes. When I make changes to the CSS and push them to the server, I have to manually refresh the page for the style updates to take effect. Simply updating the UpdatePanel
does not suffice. Is there a way within the provided code to automatically trigger a page refresh after a certain period of time, or should I implement another timer to reload the entire page every x minutes/hours? I attempted to find a solution online but had no luck, possibly because I am already using the most optimal approach, or this situation is uncommon.