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.
Page
Some solution?
regards
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 |
regards