Issue: Radrotator Slideshow and showNext()

5 posts, 0 answers
  1. Jørgen Eide
    Jørgen Eide avatar
    3 posts
    Member since:
    Jan 2009

    Posted 02 Nov 2010 Link to this post

    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.
  2. Jørgen Eide
    Jørgen Eide avatar
    3 posts
    Member since:
    Jan 2009

    Posted 03 Nov 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 04 Nov 2010 Link to this post

    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
  5. Jørgen Eide
    Jørgen Eide avatar
    3 posts
    Member since:
    Jan 2009

    Posted 04 Nov 2010 Link to this post

    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.

  6. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 10 Nov 2010 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017