I am just starting to discover the magic of AJAX and am loving it but I am still quite green.
I need to know if I can make 2 remote calls to a page method or a webservice in a row, consecutive? like that:
function test(){
PageMethods.Execute1RemoteCall(ObjectID, CompleteUpdate1, errorit);
PageMethods.ExecuteAnotherRemoteCall(ObjectID, CompleteUpdate2, errorit);
}
function CompleteUpdate1(results, context, methodName)
{
dostuff();
HideWaitMessage();
}
function CompleteUpdate2(results, context, methodName)
{
doOtherstuff() ...
Go to the complete details ...