<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_MarkEntryOtherDetail, App_Web_jltk1yvh" 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">
<style type="text/css">
input:disabled + input[type=image], input:read-only + a {
pointer-events: visible;
cursor: pointer !important;
}
</style>
   <%-- <link href="../../../App_Themes/responsiv-popup.css" rel="stylesheet" />
    <div id="dvTestLoadingmsg" class="hls-wrap">
        <div class="hls-container">
            <div class="hls-content">
                <div class="dsh-syndicate white-popup" style="display: inline-block; width: 119%; height: 150px">
                    <div class="shippingcard" style="text-align: center; vertical-align: middle; width: 100%;">
                        <span id="spn1msg">Loading Details</span><br>
                        <span style="line-height: 2;" id="spn2msg"><b>Please Wait ...</b></span><br>
                        <span id="spnloadingimgOPD">
                            <img src="../../../Images/Loading1.gif" /></span>
                    </div>
                </div>
            </div>
        </div>
    </div>--%>
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
                <td class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <div class="himsBoxContent">
                            <div class="leftUlMenu">
                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="105"
                                    Visible="true" runat="server" />
                            </div>
                        </div>
                    </div>
                </td>
                <div class="whiteboxpaddingleft row">

                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <asp:Label ID="Label1" runat="server" Text="Mark Entry Other Detail"></asp:Label>
                                </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="DepartmentLabel" runat="server" SkinID="MandatoryLabel" Text="Department"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                AutoPostBack="true" onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>


                                    <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"
                                                class="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"
                                                class="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="ExamGroupLabel" Text="Exam Group" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="ExamGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                AutoPostBack="True" OnSelectedIndexChanged="ExamGroupDropDownList_SelectedIndexChanged">
                                            </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"
                                                class="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="SubjectLabel" Text="Subject" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="SubjectDropDownList" SkinID="CustomWidthDropDownList"
                                                class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                AutoPostBack="True" OnSelectedIndexChanged="SubjectDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>


                                    <%--              <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:CheckBox ID="IsPresentSkipCheckBox" runat="server"   AutoPostBack="true" />
                                                        <asp:Label ID="IsPresentSkipLabel" runat="server" Text="Present Skip" class="pLeft5"></asp:Label>
                                                    </div>
                                                </div>--%>
                                    <div class="pTop5 col-md-12">
                                        <div class="alert alert-info">
                                            <i class="material-icons">info</i>
                                            <b>Note :</b>
                                            "Need to Save Mark Entry Compulsory"
                                        </div>
                                    </div>
                                    <div class="pTop5 alignCenter col-md-12">
                                        <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" OnClick="ExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />
                                        <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                            <i class="fa fa-arrow-down"></i>Browse</a>
                                        <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                                        <asp:Button ID="ImportButton" runat="server" Text="&#xf019;  Import" OnClick="ImportButton_Click" SkinID="0" class="btn btn-examcommon fas" />
                                    </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 pb5 mt2" runat="server">
                                        <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server" visible="True">
                                            <%--  <header>
                                                <asp:Label ID="GridViewLabel" Text="Student List For Mark Entry" runat="server" />
                                            </header>--%>
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">



                                                <div class="fRight mt-27 display-flex">
                                                    <asp:DropDownList ID="ApplyDropDownList" runat="server" class="form-control"
                                                        SkinID="CustomWidthButton">
                                                    </asp:DropDownList>&nbsp; &nbsp;
                                            <asp:TextBox ID="ApplyAllTextBox" runat="server" ClientIDMode="Static" MaxLength="100"
                                                SkinID="CustomWidthTextBox"></asp:TextBox>&nbsp; &nbsp;
                                                        <asp:Button ID="ApplyAllButton" runat="server" OnClick="ApplyAllButton_Click" CssClass="btn-apply btn"
                                                            Text="Apply All" SkinID="0" />
                                                </div>
                                            </div>
                                        </div>

                                        <div class="himsBoxContent">
                                            <%-- <div id="DivHeader" style="vertical-align: top; width: 100%;">
                                                            <asp:Table ID="ExamDetailTable" runat="server" CellPadding="0" CellSpacing="0"
                                                                BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" CssClass="GridViewTableRow">
                                                            </asp:Table>
                                                        </div>  --%>

                                            <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="False">
                                            </div>
                                            <%--          <div id="DivData" class="Container" style="vertical-align: top; height: 250px; width: 99.6%;">  --%>
                                            <div class="table-responsive">
                                                <asp:GridView ID="MarkEntryGridView" runat="server" AutoGenerateColumns="False"
                                                    EmptyDataText="No Records Found !!" AllowPaging="false" ShowHeader="true" DataKeyNames="ResultId,ResultDetailId,AcademicId,ExamDetailId"
                                                    OnRowDataBound="MarkEntryGridView_RowDataBound" CssClass="table table-striped col-md-12 table-bordered table-hover">
                                                    <Columns>

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


                                                        <asp:TemplateField HeaderText="RollNo" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="RollNoLabel" runat="server" Width="70px" Text='<%# Bind("RollNo") %>'>' </asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="IdNo" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="GRNoLabel" runat="server" Width="70px" Text='<%# Bind("Code") %>'>' </asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="10%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="StudentNameLabel" runat="server" Width="200px" Text='<%# Bind("StudentName") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>

                                                        <asp:TemplateField HeaderText="Attendance" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="PresentLabel" runat="server" Width="20px" Text='<%# Bind("IsPresent_Detail") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>

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

                                                        <asp:TemplateField HeaderText="Maximum Mark" ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="MaximumMarkLabel" runat="server" Width="50px" Text='<%# Bind("MaximumMark") %>'> </asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>

                                                        <asp:TemplateField HeaderText="Remark (MaxLength=100)" ItemStyle-Width="15%" ItemStyle-Height="50px" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:TextBox ID="RemarkTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                                    MaxLength="100" Height="50px"
                                                                    Text='<%# Eval("Remark") %>' TextMode="MultiLine"></asp:TextBox>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>


                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                            <%--   </div>--%>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>



                    <%--HEDP History Ends Here--%>
                </div>
            </div>

        </ContentTemplate>
    </asp:UpdatePanel>
    <%--   <script data-main="../../../JavaScript/rjs/markentry-otherdetail" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/markentry-otherdetail")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
