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

RadRotator OnClientMouseOver

2 Answers 157 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
JOHN STRUCHYNSKI
Top achievements
Rank 1
JOHN STRUCHYNSKI asked on 11 Sep 2008, 05:15 PM
I use the rotator control to display rich html content as a slideshow.
When you hover (MouseOver) an item the sliding stops, is there a way to let the slideshow keeping going even if the mouse hover the slideshow?
Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
J-P Minderhoud
Top achievements
Rank 1
answered on 15 Sep 2008, 07:35 AM
I just now got the same problem. I would have expected there to be a PauseOnMouseOver property but there isn't one.

You can force this behavior though:
<script type="text/javascript"
    function ForceResume(sender, args) { 
        sender.resume(); 
    } 
</script> 
<telerik:RadRotator  
ID="rrrHeader" 
runat="server" 
Skin="Default" 
OnClientMouseOver="ForceResume"
    <ItemTemplate></ItemTemplate
</telerik:RadRotator> 

But be aware that this method has an issue that when a frame is shown and the rotation is paused for the FrameDuration time before showing the next frame and the mouse moves over the rotator the pause is canceled and the next frame is shown.

Hope this helps

J-P
0
Accepted
JOHN STRUCHYNSKI
Top achievements
Rank 1
answered on 15 Sep 2008, 02:30 PM
Thank you!
Tags
Rotator
Asked by
JOHN STRUCHYNSKI
Top achievements
Rank 1
Answers by
J-P Minderhoud
Top achievements
Rank 1
JOHN STRUCHYNSKI
Top achievements
Rank 1
Share this question
or