<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_SubjectRemark, App_Web_5bql01as" 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 -->

                <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="105"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                     <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box">
                        <div class="contentHolder">
                            <div class="himssuHeader1WireBox">
                                <cc1:TabContainer ID="SubjectRemakTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                    ActiveTabIndex="0" AutoPostBack="true" meta:resourcekey="ExamCustomSearchTabContainerResource1" OnActiveTabChanged="SubjectRemakTabContainer_ActiveTabChanged">
                                    <cc1:TabPanel ID="ExamMasterTabPanel" runat="server" HeaderText="Exam Master">
                                        <HeaderTemplate>
                                            <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                <li class="fancyTab"><a><i class="fas fa-edit"></i>&nbsp;Subject Remark </a></li>
                                            </ul>
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <div class="himsBoxContent card-body" style="padding-bottom: 7px">
                                                <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()" CssClass="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"
                                                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="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="SubjectLabel" Text="Subject" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="SubjectDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="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" Text="Present Skip" Visible="false" OnCheckedChanged="IsPresentSkipCheckBox_CheckedChanged" AutoPostBack="true" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5">
                                        <div class="fLeft pRight5">
                                            <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                        </div>
                                    </div>

                                    <div class="alignCenter pTop5 col-md-12">
                                        <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" CssClass="btn btn-examcommon fas" OnClick="ExportButton_Click" SkinID="0" />
                                        
                                        <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" CssClass="btn btn-examcommon fas" OnClick="ImportButton_Click" SkinID="0" />
                                    </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">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent pTop5">
                                            <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="False">
                                            </div>
                                            <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,ExamId"
                                                    OnRowDataBound="MarkEntryGridView_RowDataBound" CssClass="table table-striped table-bordered table-hover">
                                                    <Columns>
                                                        <asp:BoundField DataField="ResultId" HeaderText="ResultId" Visible="false"></asp:BoundField>
                                                        <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="50px" Text='<%# Bind("RollNo") %>'>' </asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="ID No." ItemStyle-Width="5%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="GRNoLabel" runat="server" 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="100%" Text='<%# Bind("StudentName") %>'>' </asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Remark (MaxLength=1000)" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:TextBox ID="SubjectRemarkTextBox" SkinID="CustomWidthTextBox" runat="server" Height="70px" MaxLength="1000"
                                                                    TextMode="MultiLine"
                                                                    Text='<%#Eval("SubjectRemark") %>'></asp:TextBox>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Present Count" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:TextBox ID="PresentCountTextBox" SkinID="CustomWidthTextBox" runat="server" Height="70px" MaxLength="50"  onkeypress="javascript:return MaskDecimal(event,10,2)" onblur="javascript:return MaskDecimal(event,10,2)"
                                                                    TextMode="SingleLine"
                                                                    Text='<%#Eval("PresentCount") %>'></asp:TextBox>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Total Count" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:TextBox ID="TotalCountTextBox" SkinID="CustomWidthTextBox" runat="server" Height="70px" MaxLength="50" onkeypress="javascript:return MaskDecimal(event,10,2)" onblur="javascript:return MaskDecimal(event,10,2)"
                                                                    TextMode="SingleLine"
                                                                    Text='<%#Eval("TotalCount") %>'></asp:TextBox>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                        </asp:Panel>
                                            </div>
                                        </ContentTemplate>
                                    </cc1:TabPanel>

                                       <cc1:TabPanel Width="100%" ID="TabPanel1" runat="server" HeaderText="Exam Master">
                                        <HeaderTemplate>
                                            <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                <li class="fancyTab"><a><i class="fas fa-sync"></i>&nbsp;Attedance Update For Exam</a></li>
                                            </ul>

                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <div class="himsBoxContent card-body">
                                                <asp:Panel ID="pnlClick" runat="server">
                                                    <div class="himsBoxHeader card-head inner">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                                <header>
                                                                    <%--<asp:Image ID="Image1" runat="server" />--%>
                                                                    <asp:Label ID="Label1" runat="server" Text="Attendance Update for exam"></asp:Label>
                                                                </header>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>

                                                <%--  <cc1:CollapsiblePanelExtender
                                                    ID="CollapsiblePanelExtender1"
                                                    runat="server"
                                                    CollapseControlID="pnlClick"
                                                    Collapsed="true"
                                                    ExpandControlID="pnlClick"
                                                    TextLabelID="lblMessage"
                                                    CollapsedText="Show"
                                                    ExpandedText="Hide"
                                                    ImageControlID="Image1"
                                                    CollapsedImage="~/Images/icons/expandtab.png"
                                                    ExpandedImage="~/Images/icons/collapsetab.png"
                                                    ExpandDirection="Vertical"
                                                    TargetControlID="Panel1"
                                                    ScrollContents="false">
                                                </cc1:CollapsiblePanelExtender>--%>



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

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="UpdateExamSubGroupLabel" runat="server" SkinID="MandatoryLabel" Text="Exam Sub Group"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="UpdateExamSubGroupDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" class="form-control" 
                                                                        onmouseenter="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="UpdateExamSubGroupDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>


                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="UpdateDepartmentLabel" runat="server" Text="Department"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="UpdateDepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                                        AutoPostBack="true" CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        OnSelectedIndexChanged="UpdateDepartmentDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <%--<asp:HiddenField ID="ContractorIdHiddenField" runat="server" />--%>
                                                                    <asp:Label ID="UpdateClassLabel" SkinID="MandatoryLabel" Text="Class" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="UpdateClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" class="form-control" AutoPostBack="true" OnSelectedIndexChanged="UpdateClassDropDownList_SelectedIndexChanged"
                                                                        onmouseenter="showHideTooltip()">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <%--<asp:HiddenField ID="ContractorIdHiddenField" runat="server" />--%>
                                                                    <asp:Label ID="UpdateDivisionLabel" Text="Division" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="UpdateDivisionDropDownList" AutoPostBack="true" runat="server" onmouseleave="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" class="form-control" onmouseenter="showHideTooltip()">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                             
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <%--<asp:HiddenField ID="ContractorIdHiddenField" runat="server" />--%>
                                                                    <asp:Label ID="UpdateExamLabel" SkinID="MandatoryLabel"  Text="Exam" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="UpdateExamDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" class="form-control"
                                                                        onmouseenter="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="UpdateExamDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="UpdateSubjectLabel" Text="Subject" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="UpdateSubjectDropDownList" AutoPostBack="true" runat="server" onmouseleave="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" class="form-control" onmouseenter="showHideTooltip()">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="SearchFromDateLabel" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="SearchFromDatePicker" runat="server" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="SearchToDateLabel" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="SearchToDatePicker" runat="server" />
                                                                </div>
                                                            </div>




                                                            <div class="alignCenter pTop5 col-md-12">
                                                                <asp:Button ID="UpdateButton" Text="&#xf021; Update" runat="Server"
                                                                    SkinID="0" CssClass="btn-update btn fas" OnClick="UpdateButton_Click" />

                                                            </div>


                                                        </div>
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                        </ContentTemplate>
                                    </cc1:TabPanel>

                                </cc1:TabContainer>

                            </div>
                        </div>
                    </div>

                </div>
             <%--   <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">
                                    <header>
                                        <i class="fas fa-comment-alt"></i>
                                        <asp:Label ID="Label1" runat="server" Text="Subject Remark"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>--%>
                       <%-- <div class="himsBoxContent card-body">
                            
                        </div>--%>
                  <%--  </div>

                </div>--%>

            </div>

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