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

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!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>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadGrid ID="ProductGrid" runat="server" AllowPaging="True" DataSourceID="SqlDataSource1"
        PageSize="15">
        <ClientSettings EnableRowHoverStyle="true" EnablePostBackOnRowClick="false" EnableAlternatingItems="false">
            <Resizing AllowColumnResize="true" />
            <Scrolling AllowScroll="true" UseStaticHeaders="true" />
        </ClientSettings>
        <MasterTableView AutoGenerateColumns="false" ClientDataKeyNames="CustomerID" GridLines="Horizontal"
            TableLayout="Fixed">
            <Columns>
                <telerik:GridBoundColumn DataField="CustomerID" UniqueName="CustomerID" HeaderText="CustomerID">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ContactName" UniqueName="ContactName" HeaderText="ContactName">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Address" UniqueName="Address" HeaderText="Address">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="City" UniqueName="City" HeaderText="City">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView></telerik:RadGrid>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
        SelectCommand="SELECT CustomerID, ContactName, Address, City
                           FROM Customers"></asp:SqlDataSource>
    </form>
</body>
</html>
