RadRotator for ASP.NET AJAX

RadControls for ASP.NET AJAX

RadTicker's databinding mechanism is the same as RadRotator's one. Because RadRotator support literal content only, you must use the DataTextField property to select which field to bind to:

CopyASPX
<telerik:RadTicker ID="RadTicker1" AutoStart="true" DataSourceID="AccessDataSource1"
    DataTextField="ProductName" Loop="true" runat="server">
</telerik:RadTicker>
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Nwind.mdb"
    SelectCommand="SELECT [ProductName], [UnitPrice], [UnitsInStock] FROM [Alphabetical List of Products]">
</asp:AccessDataSource>

If needed, you can feed different lines to the control's <items> collection by using the <RadTickerItem> tag. RadTicker is also able to read literal content that is inside the <RadTickerItem> tags. This way you can construct your tickers easily without having to worry about missing to use the template tags. You can use them only when you need them.

CopyASPX
<telerik:RadTicker ID="RadTicker1" AutoStart="true" Loop="true" runat="server">
    <Items>
        <telerik:RadTickerItem ID="RadTickerItem1" runat="server">Ticker Item 1</telerik:RadTickerItem>
        <telerik:RadTickerItem ID="RadTickerItem2" runat="server">Ticker Item 2</telerik:RadTickerItem>
        <telerik:RadTickerItem ID="RadTickerItem3" runat="server">Ticker Item 3</telerik:RadTickerItem>
        <telerik:RadTickerItem ID="RadTickerItem4" runat="server">Ticker Item 4</telerik:RadTickerItem>
    </Items>
</telerik:RadTicker>