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

<!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></title>
    <style type="text/css">
        .rlvI, .rlvA
        {
            margin: 5px;
            height: 200px;
            width: 200px;
        }
        .RadDataPager
        {
            width: 1050px;
            margin-left: 5px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager runat="server" />
    <div>
        <telerik:RadListView runat="server" ID="RadListView1" AllowPaging="True" DataKeyNames="CustomerID"
            DataSourceID="LinqDataSource1">
            <LayoutTemplate>
                <div class="RadListView RadListViewFloated RadListView_Default" style="width: 1200px;">
                    <div class="rlvFloated">
                        <div id="itemPlaceholder" runat="server">
                        </div>
                    </div>
                    <telerik:RadDataPager runat="server" ID="RadDataPager1" AllowSEOPaging="true"
                        AllowRouting="true" RouteName="RadDataPagerRoutingExample" RoutePageIndexParameterName="dataPager">
                        <Fields>
                            <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                            <telerik:RadDataPagerButtonField FieldType="Numeric" />
                            <telerik:RadDataPagerButtonField FieldType="NextLast" />
                        </Fields>
                    </telerik:RadDataPager>
                </div>
            </LayoutTemplate>
            <ItemTemplate>
                <div class="rlvI">
                    <br />
                    <asp:Label ID="CustomerIDLabel" runat="server" Text='<%# Eval("CustomerID") %>' />
                    <br />
                    <asp:Label ID="CompanyNameLabel" runat="server" Text='<%# Eval("CompanyName") %>' />
                    <br />
                    <asp:Label ID="ContactNameLabel" runat="server" Text='<%# Eval("ContactName") %>' />
                    <br />
                    <asp:Label ID="ContactTitleLabel" runat="server" Text='<%# Eval("ContactTitle") %>' />
                    <br />
                    <asp:Label ID="AddressLabel" runat="server" Text='<%# Eval("Address") %>' />
                    <br />
                    <asp:Label ID="CityLabel" runat="server" Text='<%# Eval("City") %>' />
                    <br />
                    <asp:Label ID="RegionLabel" runat="server" Text='<%# Eval("Region") %>' />
                    <br />
                    <asp:Label ID="PostalCodeLabel" runat="server" Text='<%# Eval("PostalCode") %>' />
                    <br />
                    <asp:Label ID="CountryLabel" runat="server" Text='<%# Eval("Country") %>' />
                    <br />
                    <asp:Label ID="PhoneLabel" runat="server" Text='<%# Eval("Phone") %>' />
                    <br />
                    <asp:Label ID="FaxLabel" runat="server" Text='<%# Eval("Fax") %>' />
                </div>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <div class="rlvA">
                    <br />
                    <asp:Label ID="CustomerIDLabel" runat="server" Text='<%# Eval("CustomerID") %>' />
                    <br />
                    <asp:Label ID="CompanyNameLabel" runat="server" Text='<%# Eval("CompanyName") %>' />
                    <br />
                    <asp:Label ID="ContactNameLabel" runat="server" Text='<%# Eval("ContactName") %>' />
                    <br />
                    <asp:Label ID="ContactTitleLabel" runat="server" Text='<%# Eval("ContactTitle") %>' />
                    <br />
                    <asp:Label ID="AddressLabel" runat="server" Text='<%# Eval("Address") %>' />
                    <br />
                    <asp:Label ID="CityLabel" runat="server" Text='<%# Eval("City") %>' />
                    <br />
                    <asp:Label ID="RegionLabel" runat="server" Text='<%# Eval("Region") %>' />
                    <br />
                    <asp:Label ID="PostalCodeLabel" runat="server" Text='<%# Eval("PostalCode") %>' />
                    <br />
                    <asp:Label ID="CountryLabel" runat="server" Text='<%# Eval("Country") %>' />
                    <br />
                    <asp:Label ID="PhoneLabel" runat="server" Text='<%# Eval("Phone") %>' />
                    <br />
                    <asp:Label ID="FaxLabel" runat="server" Text='<%# Eval("Fax") %>' />
                </div>
            </AlternatingItemTemplate>
        </telerik:RadListView>
        <asp:LinqDataSource runat="server" ID="LinqDataSource1" ContextTypeName="DataClassesDataContext"
            EntityTypeName="" TableName="Customers">
        </asp:LinqDataSource>
    </div>
    </form>
</body>
</html>
