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
http://www.telerik.com/support/kb/winforms/track-and-status/using-radwaitingbar-to-indicate-the-status-of-long-running-operations.aspx
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
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
http://www.codeproject.com/KB/threads/threadingandui.aspx
Thanks
0
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.
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?)
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
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
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