I'm trying to change default value for timeout but it doesn't seem to
work because my onAjaxTimeout method is always called after 10 seconds.
Here's a part of my client side code:
function Export() {
Ajax.timeoutPeriod = 60*1000;
Ajax.Export(selChkLst, Export_callback, null, null, onAjaxError,
onAjaxTimeout, null);
}
function ExportOperation_callback(res) {
// some code
}
function onAjaxTimeout() {
alert("A timeout occured.");
}
function onAjaxError() {
alert("An error occured.");
}
I tried with different values for timeoutPeriod ranging from 15 seconds
unp to 1 hour and onAjaxTimeout was always called after 10 seconds. I
also tried to set timeoutperiod in initialization part of my code, but
it didn't fix anything.
Anyone have an idea ?
Thanks !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---