Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Rotator > Stopping on an item

Not answered Stopping on an item

Feed from this thread
  • Derek Intermediate avatar

    Posted on Jan 16, 2009 (permalink)

    Hi,
    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.

    Thanks,
    Derek.

    Reply

  • Victor Victor admin's avatar

    Posted on Jan 19, 2009 (permalink)

    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)  
    {  
         radRotator1.Stop();  
    }  
     
    private void radRotator1_MouseLeave(object sender, EventArgs e)  
    {  
         radRotator1.Start();  

    Please write back if you have other questions.

    Greetings,
    Victor
    the Telerik team

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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Rotator > Stopping on an item
Related resources for "Stopping on an item"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]