function initiatePageLoad() {
clearTimeout("MessagesTimer");
clearTimeout("NotificationsTimer");
var MessagesTimer = setTimeout("CheckMessages()", 15000);
var NotificationsTimer = setTimeout("CheckNotifications()", 15000);
}
I've been troubleshooting for a few hours trying to figure out why this code is not functioning as expected. Are there any suggestions on why the timers aren't clearing after partial updatepanel postbacks? It seems that if there's a full postback, the timers reset properly. However, during partial postbacks, the timers might trigger sooner than the specified 15000ms, sometimes even triggering instantly.
If you have any insights or solutions to offer, I would greatly appreciate it. Thank you!