Ah, sorry, it is working already, I couldn't remeber it. Use following code:
<script type="text/javascript"> Namespace.Classname.Method(arg1, arg2, callback, null, onLoading); </script> Here is a description of the arguments you can use after your arguments: - callback: the method you want to invoke when the result is loaded: function(res). - context: an object where you can store data you need when callback is executing - onLoading: the method you want to invoke when the Ajax.NET request is starting/finished: function(b) where b is true or false. - onError: the method you want to invke when there is any error. - onTimeout: if the method needs longer than AjaxPro.timeoutPeriod msec this method will be called. - onStateChanged: if the XMLHttpRequest status is changing this method will be called. Regards, Michael On 4/30/06, Michael Schwarz <[EMAIL PROTECTED]> wrote: > Hi, > > you can set the onLoading feature for a particular class or the whole > page, not to a method. What do others think about this, should I add > this feature? > > Regards, > Michael > > > > On 4/29/06, arseniq <[EMAIL PROTECTED]> wrote: > > > > I wonder that can i use onLoading feature for particular functions > > instead of whole page? > > > > > > > > > > > > > -- > Best regards | Schöne Grüße > Michael > > Microsoft MVP - Most Valuable Professional > Microsoft MCAD - Certified Application Developer > > http://weblogs.asp.net/mschwarz/ > http://www.schwarz-interactive.de/ > mailto:[EMAIL PROTECTED] > -- Best regards | Schöne Grüße Michael Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer http://weblogs.asp.net/mschwarz/ http://www.schwarz-interactive.de/ mailto:[EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
