<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Communication_MEmployeeViewResult, App_Web_3arndfqv" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="EmployeeViewResultUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="padding-top-header">
                <div class="alert alert-warning" runat="server" id="MessageBox" visible="false">
                    <strong>
                        <asp:Label ID="MessageBoxLabel" runat="server"></asp:Label></strong>
                </div>
                <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">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label ID="Label1" runat="server" Text="Result"></asp:Label>
                                            </div>
                                        </div>
                                    </div>


                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">

                                                <div class="cBoth">
                                                </div>
                                                <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ClassLabel" runat="server" Text="Class"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                                Width="154px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="DivisionLabel" runat="server" Text="Division"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                                Width="154px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                                OnSelectedIndexChanged="DivisionDropDownList_OnSelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="spacer">
                                                        <asp:Image ID="Image1" runat="server" ImageUrl="../../Images/spacer.gif" />
                                                    </div>

                                                    <div class="cBoth">
                                                    </div>
                                                </asp:Panel>

                                                <div id="Div1" class="himssuHeader6WireBox pTop5" runat="server" visible="false">
                                                    <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server" visible="True">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="gridHeaderText fLeft">
                                                                <asp:Label ID="GridViewLabel" Text=""
                                                                    runat="server" />
                                                            </div>

                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent box-body box-solid">
                                                        <%--<div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" 
                            visible="False"></div>  --%>
                                                        <%--    <div id="DivData" class="Container" style="vertical-align: top; height: 450px; width: 99.6%;">  --%>
                                                        <asp:GridView ID="EmployeeViewResultGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered"
                                                            AllowPaging="false"
                                                            ShowHeader="true"
                                                            DataKeyNames="Id">
                                                            <Columns>
                                                                <asp:BoundField DataField="Title" HeaderText="Exam Name" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="ExamDate" HeaderText="Exam Date" DataFormatString="{0:dd/MM/yyyy}" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:HyperLink Target="_blank" NavigateUrl='<%# "../../files/UploadResult/"+Eval("Id")+"/"+Eval("Id")+".pdf" %>' runat="server" Text="View Result"></asp:HyperLink>


                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                </div>

                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>

                            </td>
                        </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../JavaScript/rjs/encrypt/memp-view-result-encrypt" src="../../JavaScript/rjs/require.js"></script>
</asp:Content>