Looping

7 posts, 0 answers
  1. David
    David avatar
    77 posts
    Member since:
    Apr 2008

    Posted 21 May 2009 Link to this post

    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
  2. David
    David avatar
    77 posts
    Member since:
    Apr 2008

    Posted 21 May 2009 Link to this post

    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>

     

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 22 May 2009 Link to this post

    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.
  5. David
    David avatar
    77 posts
    Member since:
    Apr 2008

    Posted 22 May 2009 Link to this post

    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>

     

     

     

     

  6. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 25 May 2009 Link to this post

    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.
  7. David
    David avatar
    77 posts
    Member since:
    Apr 2008

    Posted 26 May 2009 Link to this post

    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 !




  8. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 28 May 2009 Link to this post

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