Hi,
I'm building a SL RIA Application (simple DomainDataSource). But the BusyIndicator use the CPU to 70-80%. Here is my code ...
without th BusyIndicator is the CPU-usage normal?!
regards Andreas
I'm building a SL RIA Application (simple DomainDataSource). But the BusyIndicator use the CPU to 70-80%. Here is my code ...
private
void
sDLmedia_LocationsDomainDataSource_LoadedData(
object
sender, LoadedDataEventArgs e)
{
biLocations.IsBusy =
false
;
if
(e.HasError)
{
System.Windows.MessageBox.Show(e.Error.ToString(),
"Load Error"
, System.Windows.MessageBoxButton.OK);
e.MarkErrorAsHandled();
}
}
private
void
LocationsDomainDataSource_LoadingData(
object
sender, LoadingDataEventArgs e)
{
if
(!biLocations.IsBusy)
{
biLocations.IsBusy =
true
;
}
}
without th BusyIndicator is the CPU-usage normal?!
regards Andreas