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

Issue: Radrotator Slideshow and showNext()

4 Answers 134 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Jørgen Eide
Top achievements
Rank 1
Jørgen Eide asked on 02 Nov 2010, 09:51 AM
Hi..

I'm having trouble with Radrotator Slideshow.

I've had the Radrotator Slideshow with animation type "Fade" for quite a while now. It has been working flawlessly for quite a while as a "banner" module for my project.

I recently updated telerik (for some other reason), so It's the newest version.. Now I also want to add buttons to my slideshow, to allow going back or forward in my banner module. I still want it to work like slideshow though, automatically rotating, like it always have.

So what I did was:
- Add javascript:
    function showNextItem(dir, id) {
        var oRotator = $find(id);
        if (dir == 0) {
            oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Right);
        }
        else {
            oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Left);
        }
    }

- And add two images OUTSIDE the radrotator with onclick functions like showNextItem(1,'<% =rotator.ClientID %>');

.. At first sight it worked perfectly, but after testing a little, I soon realised that in IE, after clicking abit and letting it scroll a bit (and perhaps change window and back again), the buttons stop working. :-( I can't reproduce the same error in firefox.

Edit: I CAN reproduce the same error in firefox, and in Firefox the slideshow also seems to stop when the problem occurs.

Any Ideas what might be wrong?

Thanks,
Jørgen.

4 Answers, 1 is accepted

Sort by
0
Jørgen Eide
Top achievements
Rank 1
answered on 03 Nov 2010, 08:43 AM
Seems the problem goes away when i disable pause on mouseover. I guess that's okay now that my users can manually go back and forth, but may be a bug that you might want to look into? :-)

Regards
Jørgen.
0
Fiko
Telerik team
answered on 04 Nov 2010, 10:33 AM
Hello Jørgen,

I prepared a test project but unfortunately I was not able to reproduce the described behavior. Could you please make sure that the RadRotator control is configured according the suggested in this help page? If this does not help, could you please rework my test project (attached to this mail), open a new support ticket and send it back? I will check it and do my best to provide a working solution as soon as possible.
In addition, I wound like to ask you to test with the recent BETA release of the controls nd  let me know the result.

Greetings,
Fiko
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
Jørgen Eide
Top achievements
Rank 1
answered on 04 Nov 2010, 11:13 AM

Hi Fiko, and thanks for your reply.

I  tested your project, and it works perfectly. Although, if I did a couple of small adjustments, to make it more like mine, then I could reproduce the error:

 

  1. Add SlideShowAnimation-Type="Fade" to the <telerik:RadRotator line
  2. Remove this line: <SlideShowAnimation Duration="3000" />
  3. Add this line in the codebehind file: RadRotatorThumbs.FrameDuration = 3000;

and Voila .. a couple clicks, a couple mouseovers, switch window, wait for fade and suddenly the buttons stop working.

Is it my usage that is wrong, or is it a bug? :-)

Regards
Jørgen.

0
Fiko
Telerik team
answered on 10 Nov 2010, 05:34 PM
Hello Jørgen,

I have applied the changes, but unfortunately I was not able to reproduce the described behavior. Could you please open a new support ticket and send me a screencapture of your test?

Kind regards,
Fiko
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
Tags
Rotator
Asked by
Jørgen Eide
Top achievements
Rank 1
Answers by
Jørgen Eide
Top achievements
Rank 1
Fiko
Telerik team
Share this question
or