Can't get R.A.D. waitingbar to work

8 posts, 0 answers
  1. Wim Tra Kranen
    Wim Tra Kranen avatar
    16 posts
    Member since:
    Feb 2006

    Posted 26 Oct 2006 Link to this post

    HI i am trying to use the waitingbar bar but i can't get it to work, here is  my code:

      private void btnCheckServers_Click(object sender, EventArgs e)  
                    label1.Text = "trying to connect....";  
                    Telnet Session = new Telnet(this.txtIP.Text, Convert.ToInt16(this.txtPortTest.Text), 1000);  
                        label1.Text = Session.ReturnMessage;  
                    catch (Exception ex)  
                        label1.Text = ex.Message;  

    Can someone tell me what i do wrong?

    Thanx and greetings,

    In the Help i read this:
    1. Place a RadWaitingBar control and a RadButton control on a form.
    2. Select the RadWaitingBar control.
    3. Set the StepWidth property to 4.
    4. Set the ThemeName property to ControlDefault.
    5. Set the BackColor property to BlueViolet.
    6. Select the RadButton control.
    7. Set the Text property to Animate.
    8. In the Properties window, click the events button.
    9. Double-click the Click event.
    10. Replace the automatically-generated event handler with this code:

    thing is that i cant find property StepWidth!

  2. Chris
    Chris avatar
    221 posts

    Posted 27 Oct 2006 Link to this post

    Hello Wim,
    First, thank you for evaluating r.a.d.controls for WinForms. I'm sorry for misleading you but it looks like there's an error in the documentation. The WaintingBar property which you should set is WaitingSpeed. For the final release we added one more property - WaitingStep which will be available for the official release next week.
    The problem with the WatingBar control used in you particular application is that we start the waiting behavior of the control (as you have done via the StartWaiting() method) in the current thread of the application. We use timer ticks to change the position of the waiting indicator but we currently use the standard System.Windows.Forms.Timer class using its tick event, so when you try to establish a telnet session your application gets frozen for a few seconds and the timer starts ticking after the session is established. Then you call the EndWaiting() method of the control so there is no progress shown on the waiting area of the control.
    Of course there's a workaround for this and we have attached a sample project (you have to update the references) which simply starts the telnet connection in a new thread and this way the UI of your application won't freeze while trying to connect to the telnet server.
    I hope this information helps.

    the telerik team
  3. Wim Tra Kranen
    Wim Tra Kranen avatar
    16 posts
    Member since:
    Feb 2006

    Posted 27 Oct 2006 Link to this post

    Hi Chris,

    Thanx for your response and the demoproject.
    I think it will work out fine now.

    I am reaaly looking forward for the final release because i am using the controls already alot in some applications and i am really happy with them. It fills the need for things missing in the standard controls?

    Is ther going to be a datagrid in future releases like the R.A.D. grid for

    Kind regards Wim
  4. Ivo
    Ivo avatar
    689 posts

    Posted 30 Oct 2006 Link to this post

    Hi Wim,

    We appreciate your interest in the new WinForms product line. The first official release of r.a.d.controls for WinForms will be out shortly.

    A powerful DataGrid control is on our ToDo list for next releases, however we can not commit to any time-frame for the implementation yet. We will post an official statement once we start the development.

    Thank you for your patience.

    Sincerely yours,
    the telerik team
  5. Muhammad Khalid
    Muhammad Khalid avatar
    9 posts
    Member since:
    Jul 2008

    Posted 06 Jul 2009 Link to this post

    Hi Chris ,
                I have used a Waiting bar and i have just download your examplecode  and run but i have facing some issue like Telnet.DLL reference missing . I try my best to find that telnet.dll but unfortunately i can't find the exact dll, Can you please tell me that where i can find, And how i can use .

    Thanks ,

  6. Aaron
    Aaron avatar
    8 posts
    Member since:
    Jul 2009

    Posted 06 Aug 2009 Link to this post

    Telnet.dll is probably from a 3rd party library unrelated to Telerik. So you don't have to go searching for that, here is some example code that uses a separate thread in a similar way as the example application.

            public void DoStuffThread() 
                // Pretend to do stuff that takes a long time 
            private void radButton2_Click(object sender, EventArgs e) 
                Thread thread = new Thread(new ThreadStart(this.DoStuffThread)); 
            void DoneDoingStuff() 

  7. Wim Tra Kranen
    Wim Tra Kranen avatar
    16 posts
    Member since:
    Feb 2006

    Posted 06 Aug 2009 Link to this post

    Hi Muhammad,

    Aaron is right my issue was with the waitingbar and not the telnet, but if you wanna now I use chilkat library for it!

    Good luck
  8. Victor
    Victor avatar
    1358 posts

    Posted 10 Aug 2009 Link to this post


    This particular article for RadWaitingBar is outdated and has now been removed entirely because it turns out that not every client machine has the required assemblies. The article will be replaced with a more informative one with no external dependencies. Until then, you can have a look at the Courseware provided by Falafel Software, it contains coverage of the controls in our WinForms suite. You can find it here.

    All the best,
    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.
Back to Top