Hello,
I have a Silverlight application with sensors (pushpins on a bing map). When the user clicks a sensor, I show a radwindow with a chart, and I want to show a busyIndicator in the time between the click and the radwindow is loaded, because at this lapse of time, the user could "touch" other application element( and I don't want to let it).
I've tried with this(among other things):
Any idea?
I have a Silverlight application with sensors (pushpins on a bing map). When the user clicks a sensor, I show a radwindow with a chart, and I want to show a busyIndicator in the time between the click and the radwindow is loaded, because at this lapse of time, the user could "touch" other application element( and I don't want to let it).
I've tried with this(among other things):
void
sensor_MouseLeftButtonUp(
object
sender, MouseButtonEventArgs e)
{
Dispatcher.BeginInvoke(() => uxbusyInd.IsBusy =
true
);
uxbusyInd.IsBusy =
true
;
sensorSeleccionado = (Pushpin)sender;
MonitoringStation ms = (MonitoringStation)sensorSeleccionado.DataContext;
AbreVentanaDetalle();
}
public
void
AbreVentanaDetalle()
{
VentanaDetalle vDetalle =
new
VentanaDetalle();
vDetalle.ShowDialog();
}