<%@ Page Language="C#" AutoEventWireup="false" Theme="Main_Theme" MaintainScrollPositionOnPostback="true"
    MasterPageFile="~/SiteMaster.Master" CodeBehind="UsersLastloginReportPage.aspx.cs"
    Inherits="MKInsight.Online.RRAM2.Reports.Table.UsersLastloginReportPage" Title="Untitled Page" %>

<%@ Register Src="../../UIControls/MessageBox.ascx" TagName="MessageBox" TagPrefix="uc1" %>
<%@ Register Src="../../UIControls/Header.ascx" TagName="Header" TagPrefix="uc2" %>
<%@ Register Assembly="UIWebControls" Namespace="UIWebControls" TagPrefix="cc4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="c_M" runat="server">
    <uc1:MessageBox ID="usc_M" runat="server" />
    <div>
        <uc2:Header ID="usc_Header" runat="server" />
    </div>
    <div>
        <hr class="ee" />
        <br />
    </div>
    <div>
        <cc4:MKGridView ID="dg_CS" runat="server" AllowPaging="True" AllowSorting="True" PageSize="50"
            AutoGenerateColumns="False" BorderStyle="None" CellPadding="3"
            OnRowDataBound="OnRowDataBound">
            <AlternatingRowStyle CssClass="alternatingrowstyle" />
            <FooterStyle BackColor="White" ForeColor="#000066" />
            <HeaderStyle CssClass="headerstyle" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
            <PagerStyle HorizontalAlign="Left" />
            <Columns>
                <asp:BoundField DataField="Name" HeaderText="Name_" SortExpression="Name" />
                <asp:BoundField DataField="DateTimeUserLastLogged" HeaderText="DateTimeUserLastLogged"
                    SortExpression="DateTimeUserLastLogged" DataFormatString="{0:f}" />
                <asp:BoundField DataField="Telephone" HeaderText="Telephone" SortExpression="Telephone" />
                <asp:BoundField DataField="Email" HeaderText="Email_" SortExpression="Email" />
            </Columns>
            <PagerTemplate>
                <asp:Label ID="lbl_ShowRows" runat="server" Text="Show rows:" />
                <asp:DropDownList ID="ddlPageSize" runat="server" AutoPostBack="true" OnSelectedIndexChanged="OnSelectedIndexChanged">
                    <asp:ListItem Value="50" />
                    <asp:ListItem Value="150" />
                    <asp:ListItem Value="200" />
                    <asp:ListItem Value="250" />
                    <asp:ListItem Value="500" />
                </asp:DropDownList>
                &nbsp;&nbsp;<asp:Label ID="lbl_page" runat="server" Text="Page" />
                <asp:TextBox ID="txtGoToPage" runat="server" AutoPostBack="true" CssClass="gotopage"
                    OnTextChanged="GoToPageOnTextChanged" />
                <asp:Label ID="lbl_Of" runat="server" Text="of" />
                <asp:Label ID="lblTotalNumberOfPages" runat="server" />
                &nbsp;&nbsp;<asp:Button ID="btn_p" runat="server" CommandArgument="Prev" CommandName="Page"
                    CssClass="previous" SkinID="_" ToolTip="Previous Page" />
                <asp:Button ID="btn_n" runat="server" CommandArgument="Next" CommandName="Page" CssClass="next" SkinID="_"
                    ToolTip="Next Page" />
            </PagerTemplate>
            <SelectedRowStyle BackColor="#D6E8FF" />
        </cc4:MKGridView>
    </div>
</asp:Content>
