<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Communication_MAssignmentList, App_Web_cj4q3yf2" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="padding-top-header">
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                                <div class="himssuHeader1WireBox whitebox">
                                    <div class="himsBoxHeader note note1 box box-danger" id="Div4" runat="server" visible="True">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText fLeft">
                                                <asp:Label ID="Label4" Text="Assignment List"
                                                    runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                                <div class="himssuHeader6WireBox box-body box-solid gridviewfontbigger">
                                                    <div class="himsBoxContent">
                                                        <asp:GridView runat="server" ID="AssignmentListGridView" Width="100%" AutoGenerateColumns="False" OnPageIndexChanging="AssignmentListGridView_PageIndexChanging"
                                                            EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="AssignmentListGridView_RowDataBound"
                                                            AllowPaging="True" PageSize="10" DataKeyNames="AssignmentId"
                                                            ShowHeader="true" meta:resourcekey="AssignmentListGridViewResource1" CssClass="table table-striped table-bordered">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="User Id" Visible="false" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="UserIdLabel" runat="server" Text='<%# Bind("UserId") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="Name" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="ViewLinkButton" runat="server" CommandName="Select" OnClick="ViewLinkButton_Click"
                                                                            Text='<%# Bind("Title") %>' CausesValidation="false"></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:BoundField DataField="SubjectName" HeaderText="Subject Name" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="StartDate" HeaderText="Start Date" DataFormatString="{0:dd/MM/yyyy}" HeaderStyle-HorizontalAlign="Left" />
                                                            </Columns>
                                                            <PagerSettings Mode="NumericFirstLast" Visible="True" />
                                                            <PagerStyle CssClass="pagination" BackColor="#284775" ForeColor="White" BorderWidth="0" HorizontalAlign="Right" />
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                                <div class="spacer">
                                                    <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../JavaScript/rjs/encrypt/mempprofile-encrypt" src="../../JavaScript/rjs/require.js"></script>
</asp:Content>