I updated to the new DLL and I have found that the onLoading is kind of
quirky....although I've been known to be an idiot.
What I've got going is something like:
-----------------------
function initFunction(){
AjaxPro.onLoading = function(b){if(b)loadingPush();else
loadingPop();}
AjaxPro.onError = function(res){HandleException(res);}
}
var loadingCount = 0;
function loadingPush(){loadingCount += 1; alert(loadingCount);
displayLoading();}
function loadingPop(){loadingCount -= 1; alert(loadingCount);
displayLoading();}
function displayLoading(){ $('idLoading').style.visibility =
(loadingCount == 0)?"hidden":"visible";}
-------------------------
I've found that if I just do one ajax call, I get 3 onLoading calls.
One "true" and two "false". So it is popping more then pushing...and
my ('idLoading') is never display after the first call.
This worked previously..but like I said, I get one onLoading(true) and
two onLoading(false).
???
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---