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

How to use ProgressBar with IsIndeterminate=True

1 Answer 244 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
Santhosh
Top achievements
Rank 1
Santhosh asked on 16 Aug 2011, 12:43 PM
Hello,

I want to use RadProgressBar in my code with the option IsIndeterminate=True.

This is the code:

 

 

this.progressBar.Visibility = System.Windows.Visibility.Visible;
//Do Some thing that blocks UI thread           
this.progressBar.Visibility = System.Windows.Visibility.Hidden;

Once I run this I dont see the progress bar.

Is there something I need to do?

Should I put the progress bar call in a worker thread?

Can you please help me with some sample?

Thanks & regards,
Santhosh B

 

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 19 Aug 2011, 08:54 AM
Hello Santhosh,

 Have you considered using the RadBusyIndicator which fits best in such situations? You can check out this help article demonstrating the use of BusyIndicator when making service calls and let us know if this satisfies you. You may also find this forum thread useful. However, if you still insist on using the ProgressBar, you can try to use Dispatcher or DispatcherTimer but please elaborate more on your scenario so that we could advice you better. Thank you in advance.

Kind regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
ProgressBar
Asked by
Santhosh
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or