Hello,
I am loading multiple controls in xamdockmanager. Controls are shown after the dashboard is rendered and loading of data takes place after wards.
Each controls data is fetched via dispatcher in parallel. I am unable to understand , how can I provide progress bar/busy indicator per control, till the loading finishes per control.
I looked at the dashboard samples provided, it has one common busy indicator for the whole dashboard, so even if one control needs data, all dashboard is made unresponsive.
I dont want to do that.
Any idea or suggestion is welcome.
regards
Thank you for your post. I have been looking into it and I created a sample for you with the functionality you want. Basically I followed this tutorial on how to use tasks for background operations:
http://blog.yojimbocorp.com/2012/05/22/using-task-for-responsive-ui-in-wpf/
If you click both “Load” buttons in the sample I sent you, you will see that the application will be responsive and the operations are done asynchronously.
Hope this helps you.