If you are using class.method().value your call is not done
asyncronously, so the onLoading is not working. You have to change
your code like this:
function test() {
class.method(callback);
}
function callback(res) {
alert("Your result is " + res);
}
Regards,
Michael
On 4/13/06, arseniq <[EMAIL PROTECTED]> wrote:
>
> I think you got me wrong
>
> yourClassName.someFunction().value
> is a async call already am i wrong?
>
> i can simply get the server's answer in one line with
> yourClassName.someFunction().value call asyncronously but i can't use
> the onloading feature without using a second callback js function
>
> so i wanted to ask that is there way for using onloading feature for
> "yourClassName.someFunction().value" like calls?
>
>
> >
>
--
Kind regards,
Michael Schwarz
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
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
-~----------~----~----~----~------~----~------~--~---