<%@ Page Language="C#" AutoEventWireup="false" MasterPageFile="~/SiteMaster.Master"
    Theme="Main_Theme" CodeBehind="RiskAssessmentInvitationsPage.aspx.cs" Inherits="MKInsight.Online.RRAM2.OnlineAssessment.WeightedProcessMethodologyInvitationsPage" %>

<%@ Register Src="../UIControls/Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="../UIControls/MessageBox.ascx" TagName="MessageBox" 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:Header ID="usc_Header" runat="server" />

    <uc2:MessageBox ID="usc_M" runat="server" />


    <table style="width: 100%">
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
                <cc4:MKGridView ID="dg_I" runat="server" AllowPaging="True"
                    AllowSorting="True" AutoGenerateColumns="False" BorderStyle="None"
                    CellPadding="3" DataKeyNames="ID"
                    OnRowDataBound="OnRowDataBound" Width="95%"
                    AutoGenerateCheckBoxColumn="True">
                    <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="ID" Visible="False" />
                        <asp:BoundField DataField="Title" HeaderText="Title_" SortExpression="Title" />
                        <asp:BoundField DataField="FirstName" HeaderText="FirstName"
                            SortExpression="FirstName" />
                        <asp:BoundField DataField="Surname" HeaderText="Surname"
                            SortExpression="Surname" />
                        <asp:BoundField DataField="InvitationDate" HeaderText="RequestedDate"
                            SortExpression="InvitationDate" />
                    </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="5" />
                            <asp:ListItem Value="10" />
                            <asp:ListItem Value="15" />
                            <asp:ListItem Value="20" />
                        </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>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <hr class="ee" />
            </td>
        </tr>
        <tr>
            <td class="left">
                <asp:Button ID="btn_Retire" runat="server" Text="Retire" />
            </td>
            <td>&nbsp;</td>
        </tr>
    </table>
</asp:Content>
