How do I block main navigation on (mainpage.xaml) as in all silverlight navigation application and block page's controls ( i.e whichever page is it in ) during async webservice calls? Any best practices?
+1
A:
Make a Please Wait modal dialog on your mainpage. Open it before you make a webservice call, close it in the your webservice call response handler.
BigChrisDiD
2010-03-30 02:18:35
i think you are right , but how will i access "Please Wait modal dialog "from my viewmodel ?secondly do you think it's a good idea to block the page during service calls ? since we still have back and forward browser button in browser(i am using navigation) , user can still abuse my application . what do you say ?
Muhammad Jamal Shaikh
2010-03-31 03:34:10
+1 for Busy Indicator. Just wrap a BusyIndicator around your whole control, before the WS call, set IsBusy = true, when the call returns set IsBusy = false. It's easy and beautiful. You'll love it.
routeNpingme
2010-03-30 22:28:31