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

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!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">
        .rgGroupHeader
        {
            height: 25px !important;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadGrid ID="GridFlex" runat="server" AllowPaging="True" AllowSorting="True"
            OnNeedDataSource="GridFlex_NeedDataSource" GridLines="None" PageSize="40" ShowFooter="True"
            ShowGroupPanel="True" Skin="WebBlue">
            <HeaderContextMenu Skin="WebBlue">
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            </HeaderContextMenu>
            <FooterStyle Height="20px" />
            <ItemStyle Height="20px" />
            <MasterTableView ShowFooter="True" AutoGenerateColumns="false" DataKeyNames="CustomerID">
                <Columns>
                    <telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID" ReadOnly="True"
                        SortExpression="CustomerID" UniqueName="CustomerID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName"
                        UniqueName="CompanyName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ContactName" HeaderText="ContactName" SortExpression="ContactName"
                        UniqueName="ContactName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ContactTitle" HeaderText="ContactTitle" SortExpression="ContactTitle"
                        UniqueName="ContactTitle">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Address" HeaderText="Address" SortExpression="Address"
                        UniqueName="Address">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Region" DataType="System.DateTime" HeaderText="Region"
                        SortExpression="Region" UniqueName="Region">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Country" DataType="System.Int32" HeaderText="Country"
                        SortExpression="Country" UniqueName="Country">
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn DataField="Bool" DataType="System.Boolean" HeaderText="Bool"
                        SortExpression="Bool" UniqueName="Bool">
                    </telerik:GridCheckBoxColumn>
                    <telerik:GridBoundColumn DataField="Fax" DataType="System.DateTime" HeaderText="Fax"
                        SortExpression="Fax" UniqueName="Fax">
                    </telerik:GridBoundColumn>
                </Columns>
                <GroupHeaderItemStyle Height="15px" />
            </MasterTableView>
            <ClientSettings AllowDragToGroup="True">
            </ClientSettings>
            <FilterMenu Skin="WebBlue">
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            </FilterMenu>
        </telerik:RadGrid>
    </div>
    </form>
</body>
</html>
