<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_ViewResult, App_Web_k11ba3xi" 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">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="105"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader2WireBox">
                    </div>

                    <div class="contentHolder">
                        <div class="himssuHeader1WireBox card card-box">
                            <div class="himsBoxHeader card-head">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-eye"></i>
                                            <asp:Label ID="Label1" runat="server" Text="View Result"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                            </div>
                            <div class="himsBoxContent card-body">
                                <asp:Panel ID="DetailPanel" runat="Server">
                                    <div class="contentHolder">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ClassLabel" Text="Class" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="DivisionLabel" Text="Division" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="True" OnSelectedIndexChanged="DivisionDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>



                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="StatusLabel" Text="Status" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="StatusDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ExamLabel" Text="Exam" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ExamDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="True" OnSelectedIndexChanged="ExamDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label2" Text="ObtainFrom" runat="server"></asp:Label>
                                            </div>
                                            <div>
                                                <asp:TextBox ID="FromObtainTextBox" runat="server"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label3" Text="ObtainTo" runat="server"></asp:Label>
                                            </div>
                                            <div>
                                                <asp:TextBox ID="ToObtainTextBox" runat="server"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label4" Text="Result Status" runat="server"></asp:Label>
                                            </div>
                                            <div>
                                                <asp:DropDownList ID="ResultStatusDropDownList" runat="server" CssClass="form-control"></asp:DropDownList>

                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label5" Text="Order By" runat="server"></asp:Label>
                                            </div>
                                            <div>
                                                <asp:DropDownList ID="OrderByDropDownList" runat="server" CssClass="form-control">
                                                    <asp:ListItem Selected="True" Value="0">Id</asp:ListItem>
                                                    <asp:ListItem Value="1">Rank</asp:ListItem>
                                                    <asp:ListItem Value="2">Percentage</asp:ListItem>
                                                    <asp:ListItem Value="3">Obtain</asp:ListItem>
                                                    <asp:ListItem Value="4">Roll No</asp:ListItem>
                                                </asp:DropDownList>

                                            </div>
                                        </div>

                                        <div class="alignCenter pTop5 col-md-12">
                                            <div>
                                                <asp:Button ID="SearchMarkEntryButton" CssClass="btn-search btn fas" SkinID="0" Text="&#xf002; Search" runat="Server" OnClick="SearchMarkEntryButton_Click" />
                                                <asp:Button ID="ExportButton" runat="server" Enabled="false" OnClick="ExportButton_Click" Text="&#xf093; Export"
                                                                SkinID="0" class="btn-examcommon btn fas" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 ">
                                            <div class="fLeft pRight5">
                                                <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                            </div>
                                        </div>



                                        <div id="Div1" class="himssuHeader6WireBox col-md-12" runat="server" visible="true">
                                            <div class="himsBoxHeader " id="GridViewPagerDiv" runat="server" visible="True">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <%-- <div class="headerText">
                                                        <header>
                                                            <asp:Label ID="GridViewLabel" Text="Result Sheet" runat="server" />
                                                        </header>
                                                    </div>--%>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="False">
                                                </div>
                                                <div class="table-responsive">
                                                    <div id="Div5" runat="server" visible="true" class="table-responsive">
                                                        <asp:GridView ID="MarkEntryGridView" runat="server" AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true"
                                                            DataKeyNames="AcademicId,ResultId,ResultDetailId " CssClass="table table-striped table-bordered table-hover">

                                                            <Columns>
                                                                <asp:BoundField DataField="AcademicId" HeaderText="AcademicId" Visible="false"></asp:BoundField>
                                                                <asp:BoundField DataField="ResultId" HeaderText="ResultId" Visible="false"></asp:BoundField>
                                                                <asp:BoundField DataField="ResultDetailId" HeaderText="ResultDetailId" Visible="false"></asp:BoundField>


                                                                <asp:TemplateField HeaderText="RollNo" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>

                                                                        <asp:LinkButton Text='<%#Eval("RollNo") %>' ID="RollNoLabel" runat="server" OnClick="RollNoLabel_Click"></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="IDNo" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="GRNoLabel" runat="server" Text='<%# Bind("Code") %>'>' </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="GRNo" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="AcademicLabel" runat="server" Visible="false" Text='<%# Bind("AcademicId") %>'>' </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Name" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentNameLabel" runat="server" Text='<%# Bind("Name") %>'>' </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("TotalObtain") %>'>' </asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Result" 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="GradePoint" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="ResultGradePointLabel" runat="server" Width="0PX" Text='<%# Bind("ResultGradePoint") %>'>' </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="Percentage" 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 HeaderText="Obtain1" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain1HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <HeaderStyle VerticalAlign="NotSet" HorizontalAlign="Left" />
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain1Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain2" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain2HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain2Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain3" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain3HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain3Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain4" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain4HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain4Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain5" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain5HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain5Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain6" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain6HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain6Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain7" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain7HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain7Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain8" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain8HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain8Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain9" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain9HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain9Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain10" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain10HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain10Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain11" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain11HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain11Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Obtain12" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain12HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain12Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Obtain13" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain13HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain13Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Obtain14" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain14HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain14Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Obtain15" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <HeaderTemplate>
                                                                        <asp:Label ID="Obtain15HeaderLabel" Font-Bold="true" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                    </HeaderTemplate>
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Obtain15Label" SkinID="CustomWidthLabel" runat="server"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>

                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/view-result-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/view-result")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
