<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RotatorComplexTemplates.aspx.cs" Inherits="RotatorComplexTemplates" %>

<%@ Register Assembly="RadRotator.Net2" Namespace="Telerik.WebControls" TagPrefix="radR" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <radr:radrotator id="RadRotator1" runat="server" contentfile="~/RotatorDemo.xml"
            height="600px" width="800px">
            <FrameTemplate>
                <table width="100%">
                    <tr >
                        <td width="60%"></td>
                        <td width="40%"></td>
                    </tr>
                    <tr align="center">
                        <td>
                            <asp:TextBox ID="txtTitle" runat="server" 
                                Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' />
                        </td>
                        <td></td>                            
                    </tr>
                    <tr>
                        <td>
                            <asp:Image ID="Image2" runat="server" Width="480px" 
                                ImageUrl='<%# DataBinder.Eval(Container.DataItem, "Image") %>' />
                        </td>
                        <td>
                            <radR:RadTicker ID="RadTicker1" runat="server">
                                <%# DataBinder.Eval(Container.DataItem, "Description") %>
                            </radR:RadTicker>
                        </td>
                    </tr>
                </table>
            </FrameTemplate>
</radr:radrotator>
    
    </div>
    </form>
</body>
</html>
