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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
              
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                    <%--<div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>
                                            </div>
                                        </div>
                                    </div>--%>
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent ">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="172"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>                           
                     </div>
           <div class="whiteboxpaddingleft row">
            <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                <div class="himsBoxHeader card-head">
                    <asp:Panel ID="Panel2" runat="server">
                        <div class="leftdiv">
                        </div>
                        <div class="himsBoxTitle">
                            <div class="headerText">
                                <header>
                                    <i class="fas fa-search"></i>
                                <asp:Label ID="Label1" runat="server" Text="Search"></asp:Label>
                                </header>
                            </div>
                        </div>
                    </asp:Panel>
                </div>
                <div class="himsBoxContent card-body">
                    <asp:Panel ID="Panel3" runat="Server">
                        <div class="contentHolder">
                           <%-- <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="BatchLabel" Text="Batch Name" runat="server"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="BatchDropDownList" SkinID="CustomWidthDropDownList"
                                            Width="150px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ExamLabel" Text="Exam Name" runat="server"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="ExamDropDownList" SkinID="CustomWidthDropDownList"
                                            Width="150px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            AutoPostBack="True">
                                        </asp:DropDownList>

                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>
                                <br />
                                <div class="alignCenter pTop5">
                                    <asp:Button ID="SearchButton" Text="Search" runat="Server"
                                        SkinID="0" CssClass="btn-primary" OnClick="SearchButton_Click" />
                                    <asp:Button ID="ResetButton" runat="server" Text="Clear"
                                        OnClick="ResetButton_Click" />
                                    <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                </div>
                            </asp:Panel>--%>
                            <div id="Div3" class="himssuHeader7WireBox col-md-12" runat="server">
                                <div id="SearchNewsDetailDiv" visible="false" runat="server">
                                    
                                    <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 card-body">
                                        <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                            <ContentTemplate>
                                                <div id="SearchDiv5" runat="server" visible="false" class="table-responsive">
                                                    <asp:GridView ID="ResultGridview" runat="server" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered table-hover" DataKeyNames="Id,ResultId,ExamId,ReportId,ExamTypeId">
                                                        <Columns>
                                                            <asp:TemplateField HeaderText="Batch" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="BatchLabel" runat="server" Width="70PX" Text='<%# Bind("BatchName") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Exam" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ExamLabel" runat="server" Width="50PX" Text='<%# Bind("ExamName") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Roll No" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="RollNoLabel" runat="server" Width="50PX" Text='<%# Bind("RollNo") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Marks" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="TotalMarksLabel" runat="server" Width="50PX" Text='<%# Bind("TotalMarks") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Obtain" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="TotalObtainLabel" runat="server" Width="50PX" Text='<%# Bind("Obtain") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Status" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ResultStatusLabel" runat="server" Width="50PX" Text='<%# Bind("ResultStatus") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Grade" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ResultGradeLabel" runat="server" Width="45PX" Text='<%# Bind("ResultGrade") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Rank" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="RankNumberLabel" runat="server" Width="45PX" Text='<%# Bind("RankNumber") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Percentage" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="PercentageLabel" runat="server" Width="60PX" Text='<%# Bind("Percentage") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Percentile" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="PercentileLabel" runat="server" Width="60PX" Text='<%# Bind("Percentile") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

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

                                                            <asp:TemplateField ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="ReportLabel" CommandName="ViewResult" CommandArgument="ResultId" SkinID="CustomWidthLabel" runat="server" Width="75px"
                                                                        Text="View Report" OnClick="ViewReportLinkButton_Click"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </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" class="himssuHeader7WireBox col-md-12 table-responsive" AutoGenerateColumns="False"
                                                        EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" CssClass="table table-striped table-bordered"
                                                        DataKeyNames="ExamId,ClassSubjectId,ClassID,IsPresent" OnRowDataBound="ResultDetailGridview_RowDataBound"> 
                                                      
                                                        <Columns>
                                                            <asp:TemplateField HeaderText="Subject Code" ItemStyle-Width="20%" 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-Width="40%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="SubjectNameLabel" runat="server" Text='<%# Bind("SubjectTitle") %>'>' </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

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

                                                            <asp:TemplateField HeaderText="Minimum" ItemStyle-Width="10%" 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-Width="10%" 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-Width="10%" 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>
         
            <%--HEDP History Ends Here--%>
            </div> </div>
          
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/my-result-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/my-result")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
