<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master"
    AutoEventWireup="true" CodeBehind="Default.aspx.cs"
    Inherits="GridView_Pagination._Default" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.48"
    Namespace="C1.Web.Wijmo.Controls.C1GridView"
    TagPrefix="cc1" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">

<style>
    /*pager right*/
    .my-grid .wijmo-wijpager .ui-list {
        float: right;
    }

    /*center numeric/date/currency*/
    .my-grid .wijmo-wijgrid td.wijdata-type-number,
    .my-grid .wijmo-wijgrid td.wijdata-type-currency,
    .my-grid .wijmo-wijgrid td.wijdata-type-datetime {
        text-align: center;
    }
</style>

<cc1:C1GridView ID="ConfigurationParamGrid"
    runat="server"
    CssClass="my-grid"
    AutoGenerateColumns="false"
    Width="100%"
    AllowPaging="true"
    PageSize="25"
    AllowSorting="true"
    ShowFilter="true"
    ScrollMode="Both"
    StaticHeader="true"
    VisualStyle="Vista"
    UseEmbeddedVisualStyles="true"
    AllowColSizing="true"
    OnPageIndexChanging="ConfigurationParamGrid_PageIndexChanging">

    <PagerSettings Mode="Numeric" Position="Bottom" />

</cc1:C1GridView>

</asp:Content>
