A sample of my scenario:
The application should be able to get data from a service, and with the result, build programatically the interface.
So, I´m calling an assynchronous method, and I need wait for its result to build the layout.
For this, I´ve added a RadBusyIndicator in my page.
Before call the method, I set the property IsRunning = true, and in MethodCompleted callback, I put the property IsRunning = false.
My problem is that I have several calls to several methods, so, I need put this property to false in every callback.
Here are the method´s service calls:
ChartServiceClient Proxy = new ChartServiceClient();
Proxy.InnerChannel.Faulted += new EventHandler(InnerChannel_Faulted);
Proxy.GetChartDataCompleted += new EventHandler<
Proxy.GetGaugeSettingsCompleted += new EventHandler<
Is this the better way to use RadBusyIndicator?
I´ve already read about Dispatcher, but don´t know how it can be used in this scenario..
Thanks in advance,