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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
             <style type="text/css">
                @media (max-width: 1080px) {
                    .whitebox {
                        height: auto;
                        max-height: 100% !important;
                        overflow: auto !important;
                    }
                }
            </style>
            <div id="divContentPage" class="padding-top-header">
                <!-- ContentPlaceHolder Box Starts -->
                 <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; border-collapse: collapse;"
                        cellpadding="0" cellspacing="0">
                        <tr>
                           <%-- <div class="col-md-3">
                        <section class="content-header" style="margin-bottom: 5px; margin-right: 0px; padding-right: 0px !important; padding-left: 0px;">
                             <div style="padding-right:0;">
                                 <asp:Label runat="server" ID="ScreenNamelabel" Text="" Font-Bold="true" CssClass="screennamelabel"/>
                             </div>
                        </section>
                    </div>--%>
                            <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                              
                </div>
            </div>
            <div class="himssuHeader5WireBox whitebox resp-gridivew" id="SearchDiv" runat="server">
                <div class="himsBoxHeader note note1 box box-danger">
                    <asp:Panel ID="Panel2" runat="server">
                        <div class="leftdiv">
                        </div>
                        <div class="himsBoxTitle">
                            <div class="headerText">
                                <asp:Label ID="Label1" runat="server" Text="My Result"></asp:Label>
                            </div>
                        </div>
                    </asp:Panel>
                </div>
                <div class="himsBoxContent">
                    <asp:Panel ID="Panel3" runat="Server">
                        <div class="contentHolder">
                         
                            <div id="Div3" class="himssuHeader7WireBox box-body box-solid gridviewfontbigger" runat="server">
                                <div id="SearchNewsDetailDiv" visible="false" runat="server">
                                    <div class="spacer">
                                        <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                    </div>
                                    <div class="himsBoxHeader" id="SearchNewsDiv" visible="true" runat="server">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle" style="width: 99%">
                                            <div align="right" class="fRight" style="margin-top: 0px;">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                            <ContentTemplate>
                                                <div id="SearchDiv5" runat="server" visible="false">
                                                    <asp:GridView ID="ResultGridview" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDataBound="ResultGridview_RowDataBound"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered" DataKeyNames="Id,ResultId,ExamId,ReportId,ExamTypeId">
                                                        <Columns>
                                                           <%-- <asp:TemplateField HeaderText="Batch" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="BatchLabel" runat="server" Text='<%# Bind("BatchName") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>--%>
                                                            <asp:TemplateField HeaderText="Exam" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                     <asp:LinkButton ID="ReportDetailLabel" CommandName="ViewResultDetail" CommandArgument="ResultId" SkinID="CustomWidthLabel" runat="server" 
                                                                       Text='<%# Bind("ExamName") %>' OnClick="ViewResultDetailLinkButton_Click"></asp:LinkButton>
                                                                    <%--<asp:Label ID="ExamLabel" runat="server"  </asp:Label>--%>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                          <%--  <asp:TemplateField HeaderText="Roll No" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="RollNoLabel" runat="server" Text='<%# Bind("RollNo") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>--%>
                                                            <asp:TemplateField HeaderText="Marks" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="TotalMarksLabel" runat="server" Text='<%# Bind("TotalMarks") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Obtain" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="TotalObtainLabel" runat="server" Text='<%# Bind("Obtain") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Status" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ResultStatusLabel" runat="server" Text='<%# Bind("ResultStatus") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Grade" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ResultGradeLabel" runat="server" Text='<%# Bind("ResultGrade") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Rank" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="RankNumberLabel" runat="server" Text='<%# Bind("RankNumber") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="PercentageLabel" runat="server" Text='<%# Bind("Percentage") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                           <%-- <asp:TemplateField HeaderText="Percentile" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="PercentileLabel" runat="server" Text='<%# Bind("Percentile") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>--%>

                                                          <%--  <asp:TemplateField ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="ReportDetailLabel" CommandName="ViewResultDetail" CommandArgument="ResultId" SkinID="CustomWidthLabel" runat="server" 
                                                                        Text="View Result Detail" OnClick="ViewResultDetailLinkButton_Click"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>--%>

                                                            <asp:TemplateField ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="ReportLabel" CommandName="ViewResult" CommandArgument="ResultId" SkinID="CustomWidthLabel" runat="server" 
                                                                        Text="View Report" OnClick="ViewReportLinkButton_Click"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                                <div class="cBoth">
                                                </div>

                                                <div>
                                                    <asp:Label ID="ExamResultDetailLabel" runat="server" Visible="false"></asp:Label>
                                                </div>

                                                <div id="ResultDetailDiv" runat="server" visible="false">
                                                    <asp:GridView ID="ResultDetailGridview" runat="server" Width="100%" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered"
                                                        DataKeyNames="">
                                                        <Columns>
                                                            <asp:TemplateField HeaderText="Subject Code" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="SubjectCodeLabel" runat="server" Text='<%# Bind("SubjectCode") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Subject Name" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="SubjectNameLabel" runat="server" Text='<%# Bind("SubjectTitle") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Max" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="MaximumLabel" runat="server" Text='<%# Bind("Maximum") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Min" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="MinimumLabel" runat="server" Text='<%# Bind("Minimum") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Obtain" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ObtainLabel" runat="server" Text='<%# Bind("Obtain") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Subject Grade" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="SubjectGradeLabel" runat="server" Text='<%# Bind("SubjectGrade") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>

                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </div>
                                </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/mmyresult-encrypt" src="../../../JavaScript/rjs/require.js"></script>
</asp:Content>