This is a migrated thread and some comments may be shown as answers.
white image placeholder flash after clicking button
1 Answer 8 Views
This is a migrated thread and some comments may be shown as answers.
Intro
Top achievements
Rank 1
Intro asked on 07 Jan 2013, 12:55 PM
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

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 09 Jan 2013, 03:15 PM
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.
Asked by
Intro
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or