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

Issue ie8 Rotator Scroll 2 times and no more

1 Answer 23 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 01 Sep 2009, 09:28 PM
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> 

Page

<

 

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>

 

</

 

div>


UC

 

HtmlGenericControl divrot = new HtmlGenericControl();  
                divrot.ID = "idrot"+i;  
                divrot.Style.Add("float","left");  
                RadRotator Rot = new RadRotator();  
                int nu = i + 1;  
                Rot.ID = "RadRotator" + nu;  
                RotClientID.Add(Rot.ClientID);  
                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?

regards

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 02 Sep 2009, 01:22 PM
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,
Fiko
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.
Tags
Rotator
Asked by
Pierre
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or