I have developed a little gantt chart app in silverlight 1.1 which has been running fine for a while but now needs migrated to silverlight 2.0 beta 2.
The bggest problem I have hit is moving from synchronous web services to async.
My basic issue is that to draw the ui I need the data back from the webservice which makes two calls.
1) a first call to method 1 which lifts the data required to build the basic chart - ie the bars.
2) a second call to method 2 which lifts data for bookings (IE solid appointments made with clients) which are overlaid with the bars.
In order for method one to work correctly it needs to wait for method two's data as it checks bars to see if they match bookings before rendering them.
I have watched Jesse's video on async webservices and this is working OK for me but I need to know a good method of sleeping method 1 with a loop until method two has completed and the data from two becom ...
Go to the complete details ...