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

RadWaitingBar doesn't refresh

1 Answer 153 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bob
Top achievements
Rank 1
Bob asked on 11 Jun 2009, 12:42 AM
Hi All

I have a redWautingBar on a radForm.

When I initiate a long running task I call StartWait and every 10 time round the loop call the Refresh() method.

 if(visible) radWaitingBar1.StartWaiting();
            else radWaitingBar1.EndWaiting();
            radWaitingBar1.Visible = visible;

 void s_UpdateStatus(string status, int progress)
        {
            if ((progress % 10) == 0)
            {
                radWaitingBar1.Refresh();
                this.Refresh();
            }
        }

However the control doesn't scroll untill the process is over.

The stock .Net control works but looks nowhere as good.

Where have I gone wrong?!

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 12 Jun 2009, 04:10 PM
Hi Bob,

Thank you for writing.

I am afraid that I cannot understand your scenario in details. You can take a look in this KB article how to use RadWaitingBar for long running operations. Also you can find useful info in our Step-By-Step tutorials. If you still experience any difficulties, please, send me a small sample application that demonstrates your approach. This will help me to provide you with further assistance.

Regards,
Martin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
Bob
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or