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

Rad Waiting bar in the status strip is not working

1 Answer 704 Views
WaitingBar
This is a migrated thread and some comments may be shown as answers.
Manesh
Top achievements
Rank 2
Manesh asked on 11 Aug 2012, 09:47 AM
Hi to one and all,

I've kept a waiting bar in the status strip then on upload click i've written radWatingBar.StartWaiting() when i click upload button and i upload a 10,000,000 records of zip to a grid and it takes 15minutes and after that i've written radWaitingBar.StopWaiting(). i successfully uploaded the zip file to grid but the waiting bar is not moved an inch further...... so what can i do now please help me out, all files in the zip are images of type .jpg

1 Answer, 1 is accepted

Sort by
0
Boryana
Telerik team
answered on 15 Aug 2012, 01:32 PM
Hi Manesh,

Thank you for writing.

The fact that RadWaitingBar does not start implies that you run the control's waiting process in the same thread you execute the long-running operation, i.e. on the primary UI Thread. The time-consuming operation does not allow the form to update its UI and as a result the RadWaitingBar does not move its indicator. Our online documentation contains an article that explains in details this scenario and also demonstrates how to avoid the issue through using a BackgroundWorker: http://www.telerik.com/help/winforms/track-and-status-controls-waitingbar-using-radwaitingbar-with-a-background-worker.html.

Please note, that in order to allow us to continue supporting your account you should be added as licensed developer as previously discussed. Our sales department will contact you for more information. 

I hope you will find my answer helpful. Let me know if you need further assistance.

Regards,
Boryana
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
WaitingBar
Asked by
Manesh
Top achievements
Rank 2
Answers by
Boryana
Telerik team
Share this question
or