I've been asking for this feature for a while now...so now it is time
to say thanks.

I've now added these two lines in my common.js : globalLoad() function
-----------------------------
  AjaxPro.onLoading = function(b){if(b)loadingPush();else
loadingPop();}
  AjaxPro.onError = function(res){HandleException(res);}
-----------------------------

This has saved me a lot of code. I use to have to do something like:

loadingPush();
AjaxClass.Function(param, cb, context)

function cb(res){
 loadingPop();
 if(res.error) HandleException(res.error);
}

It works perfectly!!  Now I can bypass all this repetitive code and
work on the logic for the page.

Thank you very much for this control.  I promote it whenever I'm having
an Ajax discussion....


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to