This is a migrated thread and some comments may be shown as answers.

How to keep busy indicator spinning during binding?

1 Answer 133 Views
BusyIndicator
This is a migrated thread and some comments may be shown as answers.
Dean
Top achievements
Rank 1
Dean asked on 17 Dec 2012, 06:16 PM
I fetch my data and populate the underlying ObservableCollection with the fetched data on a background thread using the TPL, during that time the busy indicator is spinning fine. However, once my data is fetched the ICollectionView my RadDataGird is bound to starts refreshing and the busy indicator freezes until the binding is finished which takes longer than fetching the data and makes the UI look unresponsive...

Now, it makes sense because both the data binding and the busy indicator are running on the UI thread but if that is the case what is the solution to keep the busy indicator spinning during the data binding?

Is there any way to have the busy indicator run on a separate thread?

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 18 Dec 2012, 09:15 AM
Hello,

Thank you for contacting us.

Unfortunately as every other UI control in WPF the BusyIndocator control is rendered in the UI thread and if it is frozen the control will not show.

Currently we are not aware of any workaround to this limitation in the Framework.

If you have any other questions feel free to write to us again.

Regards,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
BusyIndicator
Asked by
Dean
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or