Stopping on an item

2 posts, 0 answers
  1. Derek
    Derek avatar
    104 posts
    Member since:
    Aug 2008

    Posted 16 Jan 2009 Link to this post

    My RadRotator control cycles every 4 seconds but I want to be able to stop it when the mouse is over the control. Is this possible, the control is populated dynamically with user controls.

  2. Victor
    Victor avatar
    1358 posts

    Posted 19 Jan 2009 Link to this post

    Hi Derek,

    Thanks for writing.

    Indeed you can. You have to just handle the MouseEnter and MouseLeave events and call the radRotator1.Stop() and radRotator1.Start() methods respectively. Here is the code:

    private void radRotator1_MouseEnter(object sender, EventArgs e)  
    private void radRotator1_MouseLeave(object sender, EventArgs e)  

    Please write back if you have other questions.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top