Disable all navigation while busy indicator = true

Nov 21, 2013 at 6:12 PM
Hey guys,

I have something I am trying to achieve and I was wondering if somebody was able to figure out how to do this / if this is possible

I have a user control with a synchronize button, and when it is clicked on I have a busy indicator that spins until the synchronization is done.

My question is how would I go about disabling all clicks on the mui:Links and title links until my sync is done? I want the user to not be able to go to any other page until all the data has been synchronized :)

I hope this isn't too big of a requirement

Has anyone been able to implement something like this?

Is this even possible in mui?
Nov 22, 2013 at 7:48 AM
Gkrilov, disable the links is not yet possible. I believe that is an improvement issue with this. Anyway, I did implement a BusyManager taken from here How to show a waitcursor but, in your case, instead of just setting the mouse cursor you can put the whole window in disabled mode.
Nov 22, 2013 at 12:43 PM
Thank you saamorim for answering :)

What I ended up doing was just setting e.Cancel = true inside the OnNavigatingFrom method while a condition was met to prevent the users from navigation away while concent was loading.