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

Looping

6 Answers 124 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 21 May 2009, 05:50 PM
This seems like the simplest thing and maybe I am missing something.

My Rotator is in slideshow mode and it is not looping and I see no propery to set for loop or repeat.

I had an older version of this component on another site and it looped automatically.

My rotator is in a user control embedded in a raddockzone, if that makes any differene

6 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 21 May 2009, 07:36 PM
Ammedment:  I noticed that the rotator loops just fine in Firefox.
In IE 7 it loops all the way through then goes blank wihite with no image.

 

<telerik:RadRotator ID="RadRotator1" runat="server" DataSourceID="SqlDataSource1"

 

 

FrameDuration="3000" Height="400px" ItemHeight="400px" ItemWidth="400px"

 

 

RotatorType="SlideShow" ScrollDuration="1000" Skin="Black" Width="400px"

 

 

WrapFrames="True" >

 

 

<ItemTemplate>

 

 

<a href="<%# DataBinder.Eval(Container.DataItem, "NavigateUrl") %>">

 

 

<img style="border: 0px;" alt="<%# DataBinder.Eval(Container.DataItem, "AlternateText") %>"

 

 

src="<%# DataBinder.Eval(Container.DataItem, "ImageUrl") %>" />

 

 

</ItemTemplate>

 

 

<SlideShowAnimation Type="Fade" />

 

</

 

telerik:RadRotator>

 

0
Fiko
Telerik team
answered on 22 May 2009, 01:37 PM
Hello David,

In the provided code I see that the anchor tag is not well formatted - it is missing the closing tag. Some browsers close the unclosed tags automatically, but the IE browsers does not and the code becomes non-XHTML compliat. This is the reason for the undesired behavior and you can avoid it by closing the <a> tag.

I hope this helps.

Best wishes,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
David
Top achievements
Rank 1
answered on 22 May 2009, 06:47 PM

I fixed that oversight on the anchor tag, Thank You.

 However, it is still behaving the same way in IE 7.  I tried different methods, slideshow, autadvance etc.

It goes through the images one time,  goes blank- then never does anything else.
Aslo the older radrotaor used to have more transition effects, like swipe, checkerboard, etc. ?  Are those still able to be used ?Previously trnasitionsworked in IE, but not in FireFox.  Now I have the opposite.

Here is the whole user control:

 

<%

@ Control Language="VB" AutoEventWireup="false" CodeFile="BigFoot.ascx.vb" Inherits="UserControls_BigFoot" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

 

 

 

 

 

 

 

<telerik:RadRotator ID="RadRotator1" runat="server" DataSourceID="SqlDataSource1"

 

 

FrameDuration="3000" Height="400px" ItemHeight="400px" ItemWidth="400px" Width="400px"

 

 

ScrollDuration="1000" WrapFrames="False" ScrollDirection="Up" PauseOnMouseOver="False">

 

 

<ItemTemplate>

 

 

<a href="<%# DataBinder.Eval(Container.DataItem, "NavigateUrl") %>">

 

 

<img style="border: 0px;" alt="<%# DataBinder.Eval(Container.DataItem, "AlternateText") %>"

 

 

src="<%# DataBinder.Eval(Container.DataItem, "ImageUrl") %>" /></a>

 

 

</ItemTemplate>

 

 

<SlideShowAnimation Type="Fade" />

 

 

</telerik:RadRotator>

 

 

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:tigerpaw %>"

 

 

SelectCommand="SELECT [ImageURL], [NavigateURL], [AlternateText], [ID] FROM [tblPortalAdRotator] WHERE ([Active] = @Active) ORDER BY DisplayOrder">

 

 

<SelectParameters>

 

 

<asp:Parameter DefaultValue="True" Name="Active" Type="Boolean" />

 

 

</SelectParameters>

 

 

</asp:SqlDataSource>

 

 

 

 

0
Fiko
Telerik team
answered on 25 May 2009, 01:39 PM
Hi David,

I used your code and prepared a test project, but I was not able to reproduce the problem on my side. For your convenience I have attached it to the thread. Could you please rework it in order to replicate your setup, open a new support ticket and send it back? Once we have a better view over your setup, we will do our best to provide a solution.
Additionally, in the RadRotator's declaration you are used the WrapFrames property with value "false". In this case the items will be showed only one time and then the rotator will stop.

All the best,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
David
Top achievements
Rank 1
answered on 26 May 2009, 01:21 PM
once again something simple I missed.  Must have been thinking of the memorial day weekend.

I took out  wrapframes = false  and it started looping in IE.  That apparently doesn't affect Firefox ?
It was still looping fine.


Anything I am missing on transition effects still ?  I just see pulse and fade in slideshow mode - are there  more or ways to set it clientside on load with javascript to do a wipe or checkerboard  for example.

Thank you very much for your time !




0
Fiko
Telerik team
answered on 28 May 2009, 03:30 PM
Hello David,

Custom animations are not allowed and for the time being the RadRotator control has only two animations :pulse and fade. We plan, however, to extend the control and add some additional animations in one of the next releases.

Sincerely yours,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Rotator
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Fiko
Telerik team
Share this question
or