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

how to display the BusyIndicator that hang ExpandAll () runs a RadTreeView

1 Answer 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
bouda
Top achievements
Rank 1
bouda asked on 12 May 2011, 04:23 PM
Hello ,

I am using Silverlight application and I have a Telerik RadTreeView. I like display the BusyIndicator hang the methode ExpnadAll() runs.
Note : (My RadTreeView contains many elements)

My code looks like this :

 

 

private void Button_ExpandAll(object sender, RoutedEventArgs e)

 

 

 

 

{

 

 

 

 

 

 

 

 

    this.MyBusy = true;

 

 

 

 

 

    this.MytreeView.ExpandAll();

 

 

 

 

 

    this.MyBusy = false;
}

But the BusyIndicator is never displayed.

 

 

 

Cordially
Theo

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 17 May 2011, 09:34 AM
Hi bouda,

Unfortunately this approach is not supported for the moment. RadTreeView's ExpandAll operation is UI operation, thus it has to be done on the UI thread which leads to blockit it. Therefore, using the BackgroundWorker class will not help. I've added an item in our PITS under the name "TreeView: Do not block the UI thread during ExpandAll" which will be available for tracking and voting tomorrow the latest. If the item gathers enough popularity, we will definitely consider implementing it. I've also updated your Telerik points accordingly.

All the best,
Kiril Stanoev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
bouda
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or