white image placeholder flash after clicking button

2 posts, 0 answers
  1. Intro
    Intro avatar
    18 posts
    Member since:
    Jan 2007

    Posted 07 Jan 2013 Link to this post

    Hello,

    Please find below a definition for a rotator with a viewport of 4 items. 5 items were placed statically inside the rotator. After clicking buttons, in either direction, in the rotator, an empty placeholder is depicted in the rotator image area. Could you please help me in fixing this problem.

    Please find below the rotator definition.

    <telerik:RadRotator ID="radRotator" runat="server" Width="520px" Height="120px" ItemHeight="120px" ItemWidth="120px" RotatorType="Buttons">
                    <telerik:RadRotatorItem>
                        <ItemTemplate>
                            <asp:Image  runat="server" ID="imgRotatorItem" ImageUrl=""  Height="120px" Width="120px"/>
                        </ItemTemplate>
                    </telerik:RadRotatorItem>


    Thanks,
    Oner
  2. Slav
    Admin
    Slav avatar
    1356 posts

    Posted 09 Jan 2013 Link to this post

    Hello Oner,

    You need to have at least 2 * numberOfItemsInViewPort items loaded in the RadRotator, configured in Buttons mode, in order to scroll them without displaying empty space. You can also use the client-side API of the control to scroll one item at a time, as shown in the online demo Rotator / Client-side API, which will avoid the examined effect without the need to add more items.

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