I think he did understand you, what hes saying its that you can return
only one argument. the functions return argument.

However that Argument can be a collection an object an array so you can
return whatever you want.

So say you want to call

AjaxPro.MyMethod(Argument1, argument2, dostuff_callback);

Say it is Argument 2 you want to send to the callback function

You need to include argument 2 on the server side in the return
object..

So on the server side you could have

[AjaxMethod]
Public MyMethod(arg1, arg2) as Array

dim myarray(1) as string

myarray(0) = "This is a return String"\
myArray(1) = arg2
end sub

in the callback funtion you would retrieve the array and the second
value would be your argument that you passed to the server

hope this helps!


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