I have a telerik radgrid inside of an xmlhttp panel that I refresh at a given interval with the following javascript...
function startWorklistRefresh() {
if (wlIntervalId == 0) {
wlIntervalId = setInterval("reloadWorklist();", wlCtrlAutoRefreshRate);
}
}
function reloadWorklist() {
$find("<%= XmlGridPanel.ClientID %>").set_value("Reload");
}
function OnClientResponseError(panel,args){
alert('wtf');
}
We update our site using the app_offline.htm trick for IIS. The problem is that I can see (via FF/Firebug) the reloadworklist happening but there are 404 errors happening (as expected) when I take the site offline...but the user is does not see our app_offline page..I tried adding a clientside event for OnClientResponseError but that event was never hit...what I would like to have is a hook so I can redirect the user to some default.aspx page...I also tried the custom errors web.config but apparently that doesn't take effect for an xmlhttppanel request...any help would be greatly appreciated.
thanks
ds
function startWorklistRefresh() {
if (wlIntervalId == 0) {
wlIntervalId = setInterval("reloadWorklist();", wlCtrlAutoRefreshRate);
}
}
function reloadWorklist() {
$find("<%= XmlGridPanel.ClientID %>").set_value("Reload");
}
function OnClientResponseError(panel,args){
alert('wtf');
}
We update our site using the app_offline.htm trick for IIS. The problem is that I can see (via FF/Firebug) the reloadworklist happening but there are 404 errors happening (as expected) when I take the site offline...but the user is does not see our app_offline page..I tried adding a clientside event for OnClientResponseError but that event was never hit...what I would like to have is a hook so I can redirect the user to some default.aspx page...I also tried the custom errors web.config but apparently that doesn't take effect for an xmlhttppanel request...any help would be greatly appreciated.
thanks
ds