All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
New to Telerik UI for ASP.NET AJAX? Download free 30-day trial
RadRotator offers a number of client events that developers can use.
There are three more client events that are related to the Load On Demand functionlity:
You can check the online demo Load On Demand for more information and demonstration of these client events.
<%@ Page Language="vb" AutoEventWireup="true" %> <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> <!DOCTYPE html> <html xmlns='http://www.w3.org/1999/xhtml'> <head runat="server"> <title>Telerik ASP.NET Example</title> <link href="styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="scripts.js"></script> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" /> <div class="demo-containers"> <div class="demo-container"> <telerik:RadRotator RenderMode="Lightweight" ID="RadRotator1" runat="server" OnClientItemShowing="itemShowing_handler" OnClientItemShown="itemShown_handler" OnClientItemClicking="itemClicking_handler" OnClientItemClicked="itemClicked_handler" OnClientMouseOver="mouseOver_handler" OnClientMouseOut="mouseOut_handler" DataSourceID="xmlDataSource1" Height="60px" ItemHeight="60px" Width="320px" ItemWidth="320px" Style="float: left;"> <ItemTemplate> <div class="itemTemplate"> <%# XPath("Date")%> <br /> <%# XPath("Title")%> </div> </ItemTemplate> </telerik:RadRotator> </div> </div> <asp:XmlDataSource ID="xmlDataSource1" runat="server" DataFile="news.xml"></asp:XmlDataSource> <qsf:EventLogConsole runat="server" ID="RotatorEventLog" AllowClear="true"></qsf:EventLogConsole> </form> </body> </html>