Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Rotator > RadRotator WrapFrames not wrapping

Not answered RadRotator WrapFrames not wrapping

Feed from this thread
  • radfreak avatar

    Posted on Nov 28, 2011 (permalink)

    Hello all,

    I setup a vertical CoverFlow RadRotator in a user control bound to a generic List<> but i cant seem to get the rotator to "wrap" using WrapFrames="true" and i only get 1 cycle of the items in the List<>. I've tried changing the binding to IEnumerables and string[].
    For this example, the List<> is just List<string> vpaths.

    Heres the markup for the rotator.

    <

    telerik:RadRotator ID="rotatorVerticalMediaItems" runat="server" Height="400px" Width="400px" CssClass="ucCoverArtRotatorV_RotatorStyle" RotatorType="CoverFlow" PauseOnMouseOver="false" Skin="Black" ScrollDuration="2000" ScrollDirection="Down,Up" FrameDuration="1" ItemHeight="300px" ItemWidth="202px" WrapFrames="true">

     

    <ItemTemplate>

     

    <div title='<%# Container.DataItem %>'>

    <a href='<%# Container.DataItem %>'><img class="ucCoverArtRotatorV_CoverArtStyle" alt="" 
        
    src='<%# Container.DataItem %>' /></a>

    </div>

    </ItemTemplate>

    </telerik:RadRotator>

     
    Thanks in advance.

    Reply

  • Slav Slav admin's avatar

    Posted on Dec 1, 2011 (permalink)

    Hello Stuts,

    Currently the RadRotator with RotatorType="CoverFlow" does not offer the option to set the WrapFrames="true", because the CoverFlow RadRotator is designed to be a control that flows through thumbnails of items in either direction.

    You can still achieve a constant rotation of the items by changing the scroll and animation direction, when the last item of the collection is reached, via the client-side event OnClientItemShown. This approach is implemented in the online demo Rotator / CoverFlow Mode.

    I hope that helps. Please let us know if you run into more difficulties.

    Best wishes,
    Slav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Rotator > RadRotator WrapFrames not wrapping
Related resources for "RadRotator WrapFrames not wrapping"

[  ASP.NET Rotator Features  |  Documentation  |  Demos |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]