<%@ 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.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" AllowPaging="True"
        Skin="Vista" AllowFilteringByColumn="True" OnItemCreated="RadGrid1_ItemCreated"
        PageSize="15" OnNeedDataSource="RadGrid1_NeedDataSource" AllowSorting="true"
        GridLines="None">
        <MasterTableView>
            <Columns>
                <telerik:GridClientSelectColumn UniqueName="SelectColumn">
                </telerik:GridClientSelectColumn>
                <telerik:GridBoundColumn HeaderText="CustomerID" DataField="CustomerID" UniqueName="CustomerID"
                    AllowFiltering="true" FilterControlWidth="40px" AllowSorting="true" />
                <telerik:GridBoundColumn HeaderText="Name" DataField="ContactName" DataFormatString="<nobr>{0}</nobr>"
                    UniqueName="ContactName" AllowFiltering="true" AllowSorting="true" />
                <telerik:GridBoundColumn HeaderText="Name" DataField="Address" UniqueName="Address"
                    AllowFiltering="true" AllowSorting="true" />
                <telerik:GridBoundColumn HeaderText="Phone" DataField="Phone" UniqueName="Phone"
                    AllowFiltering="false" AllowSorting="true" />
                <telerik:GridBoundColumn HeaderText="City" DataField="City" UniqueName="City" AllowFiltering="true"
                    FilterControlWidth="50px" AllowSorting="true" />
                <telerik:GridBoundColumn HeaderText="Country" DataField="Country" UniqueName="Country"
                    AllowFiltering="true" FilterControlWidth="20px" AllowSorting="true" />
                <telerik:GridBoundColumn HeaderText="PostalCode" DataField="PostalCode" UniqueName="PostalCode"
                    AllowFiltering="false" AllowSorting="true" />
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <Selecting AllowRowSelect="true" />
            <Scrolling AllowScroll="true" UseStaticHeaders="true" />
            <Resizing AllowColumnResize="true" EnableRealTimeResize="true" ClipCellContentOnResize="true" />
        </ClientSettings>
    </telerik:RadGrid>
    <br />
    </form>
</body>
</html>
