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

Using RadWaitingBar to indicate the status of long-running operations Sample

4 Answers 164 Views
WaitingBar
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 24 May 2010, 02:28 PM
Hi,

I've been trying to follow the sample below and stuck on one point. I'ved copied your sample in to word as it seems the formatting is messed up.
I get this error
Error 1 The name 'task_Complete' does not exist in the current context

task.Complete +=

new EventHandler(task_Complete);

Where is the task_Complete declared?

Thanks

 



http://www.telerik.com/support/kb/winforms/track-and-status/using-radwaitingbar-to-indicate-the-status-of-long-running-operations.aspx

4 Answers, 1 is accepted

Sort by
0
Karl
Top achievements
Rank 1
answered on 25 May 2010, 09:28 AM
Sorted this out with some help from code project:
http://www.codeproject.com/KB/threads/threadingandui.aspx

Thanks
0
Nikolay
Telerik team
answered on 27 May 2010, 04:35 PM
Hello Karl,

I am glad to hear that you have found the answer to your question. Feel free to contact us, should you need further assistance.

Kind regards,
Nikolay
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.
0
Shani
Top achievements
Rank 1
answered on 05 Jun 2011, 07:41 AM
I still can't fix it.. I'm new to this...can u plz hlp me to solve the stuff.These are da errors poped up.

Error    1    The name 'task_Complete' does not exist in the current context   
Error    2    The type or namespace name 'Telnet' could not be found (are you missing a using directive or an assembly reference?)   
0
Nikolay
Telerik team
answered on 09 Jun 2011, 10:01 AM
Hi Shani,

Thank you for your question.

Actually, the Telnet class is not a real class and its purpose was just to fit in a scenario involving a long-running process. Since many users were confused, because of this class, we removed the article from our Knowledge Base section and now you are only able to access the article if you have a direct link to it. Generally, the RadWaitingBar API is covered by our Step-by-step Tutorial for WinForms.

For your convenience, however, I am attaching a sample project which follows the approach of the Knowledge Base article substituting the Telnet scenario with another time-consuming operation.

I hope this helps.

All the best,
Nikolay
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Tags
WaitingBar
Asked by
Karl
Top achievements
Rank 1
Answers by
Karl
Top achievements
Rank 1
Nikolay
Telerik team
Shani
Top achievements
Rank 1
Share this question
or