So, I'm just getting started with .WCF RIA Services and Silverlight.
Here's what I need to do: I need to make a couple of calls to my domain service to download data. So, I use the Load () method for the Context object.
I need to take some action when all requests are complete. I see that I can specify a callback for each individual load, but what I really want to do is register a callback that will be executed when all the loads are completed.
Is there a built-in way to do this using RIA / Silverlight services, or will I need to roll my own?
By the way: I don’t do anything so crazy - I just don’t want my form to be interactive until the data is loaded (I don’t want to block the UI stream, I just want to show the progress of the hampster bar / dance until until all the data has been downloaded)
source
share