How to use ProgressBar with IsIndeterminate=True

2 posts, 0 answers
  1. Santhosh
    Santhosh avatar
    2 posts
    Member since:
    Aug 2011

    Posted 16 Aug 2011 Link to this post


    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


  2. Petar Mladenov
    Petar Mladenov avatar
    3152 posts

    Posted 19 Aug 2011 Link to this post

    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 >>

Back to Top