New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Persisting RadRotator's CoverFlow Animation Through an AJAX Request
In some scenarios you may need to Ajaxify the RadRotator control on your page. Please keep in mind that if you have set the rotator control in CoverFlow mode (RotatorType=”CoverFlow”), the script that configures its animation options should be registered from the code-behind in order to persist the animation through the Ajax request.
The following example demonstrates how to set the animation options if a RadRotator in CoverFlow mode is placed in an UpdatePanel control.
ASP.NET
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<telerik:RadRotator RenderMode="Lightweight" ID="RadRotator1" runat="server" RotatorType="CoverFlow" ScrollDirection="Left,Right"
Height="233px" ItemHeight="113px" Width="490px" ItemWidth="150px">
<ItemTemplate>
<img src="........" alt="" />
</ItemTemplate>
</telerik:RadRotator>
<asp:Button ID="Button1" Text="Send Request" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>