Issue ie8 Rotator Scroll 2 times and no more

2 posts, 0 answers
  1. Pierre
    Pierre avatar
    138 posts
    Member since:
    Feb 2006

    Posted 01 Sep 2009 Link to this post

    Hi Team,

    I have one project using rotator from codebdhind. All work fine in FF, Chrome, Safari but in IE8 my rotator scroll 2 times and no more.

    <SCRIPT language=javascript type=text/javascript>var intervalID = setInterval('MasterItemShowing();', 10000);function MasterItemShowing(){$find('Vitrinas_RadRotator1').showNext(Telerik.Web.UI.RotatorScrollDirection.Up);}function ClientItemShowing(slider,args){    $find('Vitrinas_RadRotator2').showNext(slider.get_animationDirection());}</SCRIPT> 




    body style="overflow-x:hidden;">




    form runat="server">




    asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>




    div id="global" runat="server">




    uc1:rotator id="Vitrinas" runat="server"></uc1:rotator>







    HtmlGenericControl divrot = new HtmlGenericControl();  
                    divrot.ID = "idrot"+i;  
                    RadRotator Rot = new RadRotator();  
                    int nu = i + 1;  
                    Rot.ID = "RadRotator" + nu;  
                    Rot.Width =Unit.Pixel(rotateWidth);  
                    Rot.Height =Unit.Pixel(rotateHeight);  
                    Rot.ScrollDirection = RotatorScrollDirection.Left; 
                    Rot.WrapFrames = true;  
                    Rot.RotatorType = RotatorType.FromCode; 
                    Rot.SlideShowAnimation.Type = Telerik.Web.UI.Rotator.AnimationType.Fade;
                    Rot.ItemWidth = Unit.Pixel(rotateWidth);  
                    Rot.ItemHeight = Unit.Pixel(rotateHeight);  
                    Rot.ItemTemplate =new RotatorTemplate();  
                    Rot.DataSource = listRotator;//DataSource
    Some solution?


  2. Fiko
    Fiko avatar
    1406 posts

    Posted 02 Sep 2009 Link to this post

    Hello Pierre,

    In the code that you provided, I see that you set the Rot.ScrollDirection = RotatorScrollDirection.Left; and then you rotate the content by passing the Telerik.Web.UI.RotatorScrollDirection.Up value to the showNext function. Please note that in this case the behavior of the RadRotator control is unpredictable. In your case you need to set the ScrollDirection property as shown bellow. Note that you can combine the Up and Down values but you cannot combine the Up and Left ones for example.

    Rot.ScrollDirection = RotatorScrollDirection.Up | RotatorScrollDirection.Down; 

    Could you please apply this in your project and in case that the problem still exists, please open a new support ticket and send it back. I will do my best to rework it to work properly with our control and send it back.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top