|
|
|
start date: Wed, 01 Aug 2007 10:22:33 -0400,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
dgk
|
|
2
Fred Chateau
|
AJAX function (webmethod) call question
Calling a simple webmethod from a page with the scriptmanager works
like this:
ret = SimpleService.SayHello(document.getElementById('Text1').value,
OnComplete, OnTimeOut, OnError);
The first parameter is the one expected by the function, and the rest
are callbacks. What is the format for calling a method that takes more
than one parameter?
Date:Wed, 01 Aug 2007 10:22:33 -0400
Author:
|
Re: AJAX function (webmethod) call question
I don't know how to do it, but I'm guessing that you would want to use a
JSON object. You could pass your parameters as properties.
--
Regards,
Fred Chateau
fchateauAtComcastDotNet
"dgk" wrote in message
news:3l51b3ts7233dbq0uv5aijkqukpl72pfgk@4ax.com...
> Calling a simple webmethod from a page with the scriptmanager works
> like this:
>
> ret = SimpleService.SayHello(document.getElementById('Text1').value,
> OnComplete, OnTimeOut, OnError);
>
> The first parameter is the one expected by the function, and the rest
> are callbacks. What is the format for calling a method that takes more
> than one parameter?
Date:Fri, 3 Aug 2007 12:13:51 -0500
Author:
|
|
|