Tools : SilverLight 2, C# 3.5, VS2008 and WCF Async Programming
In my SL2 application, I am making 3 async wcf calls as follows -
void HomeScreen()
{
//Async WCF Calls
DataService.GetPersonInfo(sUser);
DataService.GetSalaryInfo(sUser);
DataService.GetDepartmentInfo(sUser);
//Where to put this code?
//Page.Redirect("MainScreen");
}
After all 3 async calls has been completed i need to move user to a MainScreen. How do i know that all 3 async calls has been completed ?
(without using loop to check global variable for async method status)
Does SL2 has any inbuilt feature like Jquery to know all async call has been completed for ex -
$().ajaxStop($.unblockUI);
Any Thoughts ?