<%@ 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">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" EnableHistory="true" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="true" AllowSorting="true"
            AllowPaging="true" PageSize="5" EnableViewState="false" AutoGenerateColumns="false"
            OnNeedDataSource="RadGrid1_NeedDataSource">
            <MasterTableView ShowHeader="true" TableLayout="Fixed">
                <Columns>
                    <telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID" DataType="System.String" />
                    <telerik:GridBoundColumn DataField="CompanyName" HeaderText="CompanyName" DataType="System.String" />
                    <telerik:GridBoundColumn DataField="ContactName" Visible="false" DataType="System.String"
                        UniqueName="ContactName" />
                    <telerik:GridBoundColumn DataField="ContactTitle" HeaderText="ContactTitle" DataType="System.String"
                        UniqueName="ContactTitle" />
                    <telerik:GridBoundColumn DataField="City" HeaderText="City" UniqueName="City">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Address" Visible="true" DataType="System.String"
                        UniqueName="Address" HeaderText="Address">
                    </telerik:GridBoundColumn>
                </Columns>
                <PagerStyle Mode="NextPrevNumericAndAdvanced" />
            </MasterTableView>
            <ClientSettings>
                <Selecting AllowRowSelect="true" />
            </ClientSettings>
        </telerik:RadGrid>
    </div>
    </form>
</body>
</html>
