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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch"
    TagPrefix="Std" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl"
    TagPrefix="hims" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>

            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <div class="himssuHeader3WireBox">
                            <table>
                                <tr>
                                    <td>
                                        <div class="himsBoxContent">
                                            <div class="leftUlMenu">
                                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="110"
                                                    Visible="true" runat="server" />
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="row whiteboxpaddingleft">
                            <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                                <Std:StudentSearch ID="SearchStudentSearch" Visible="false" runat="server" />
                                <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
                                <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
                                <div class="himsBoxHeader card-head">
                                    <asp:Panel ID="Panel1" runat="server">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <i class="fas fa-search"></i>
                                                    <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                                </header>
                                            </div>
                                            <div class="fRight mt-27">
                                                <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0" CssClass="btn btn-add fas" Text="&#xf067; Add" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                                <div class="himsBoxContent card-body">
                                    <asp:Panel ID="DetailPanel" runat="Server">
                                        <div class="contentHolder">
                                            <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchClassLabel" runat="server" Text="Class"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="SearchClassDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            AutoPostBack="true" OnSelectedIndexChanged="SearchClassDropDownList_OnSelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchDivisionLabel" runat="server" Text="Division"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="SearchDivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="StudentStatusLabel" runat="server" Text="Student Status"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="StudentStatusDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchIdNoLabel" runat="server" Text="ID No"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5 display-flex">
                                                        <asp:TextBox ID="SearchIdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200">
                                                        </asp:TextBox>
                                                        <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="SearchIdNoImageButton"
                                                            runat="server" ImageUrl="../../../../Images/icons/icon_find.gif" />
                                                        <asp:HiddenField ID="SearchAcademicIdHiddenField" runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="FromRollNo_Label" runat="server" Text="From Roll No"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="FromRollNo_TextBox" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ToRollNo_Label" runat="server" Text="To Roll No"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="ToRollNo_TextBox" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchAttendanceTypeLabel" runat="server" Text="Attendance Type"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="SearchAttendanceTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            AutoPostBack="true" OnSelectedIndexChanged="SearchAttendanceTypeDropDownList_OnSelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchPresentLabel" runat="server" Text="Attendance Status"></asp:Label>
                                                    </div>
                                                    <div class="controlLabelWidth">
                                                        <asp:DropDownList runat="server" ID="SearchPresentDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="AttendanceTagLabel" runat="server" Text="Attendance"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="AttendanceTagDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div id="AttendanceGroupDiv" runat="server" visible="false">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="AttendanceGroupLabel" runat="server" Text="Attendance Group"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="AttendanceGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchSubjectLabel" runat="server" Text="Subject"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="SearchSubjectDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                AutoPostBack="true" OnSelectedIndexChanged="SearchSubjectDropDownList_OnSelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="PeriodNoLabel" runat="server" Text="Period No"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="PeriodNoDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchFromAttendanceDateLabel" runat="server" Text="From Attendance Date"
                                                            SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="SearchFromAttendanceDatePickerControl"
                                                            runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchToAttendanceDateLabel" runat="server" Text="To Attendance Date"
                                                            SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="SearchToAttendanceDatePickerControl"
                                                            runat="server" />
                                                    </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div class="alignCenter pTop5">
                                                    <asp:Button ID="SearchButton" runat="server" Text="&#xf002; Search" OnClick="SearchButton_Click"
                                                        SkinID="0" CssClass="btn-search btn fas" />
                                                    <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" OnClick="ResetButton_Click" />
                                                    <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="ExportButton_Click" Visible="false"/>
                                                </div>
                                            </asp:Panel>
                                            <div id="Div1" class="himssuHeader7WireBox col-md-12 ptop5" runat="server">
                                                <div id="NewsDetailDiv" visible="false" runat="server">
                                                    <div class="outerBox pTop5 col-md-12">
                                                        <div class="col-md-12 pTop15 padd-0 ">
                                                            <div class="col-lg-2 col-xs-6 cursor-pointer">
                                                                <div class="bg-grey width-100">
                                                                    <div class="padd text-center ">
                                                                        <h3>
                                                                            <span id="PresentPercentageSpan" class="fnt">
                                                                                <asp:Label ID="PresentPercentage" runat="server" Text="0 %"></asp:Label></span></h3>
                                                                        <p class="marg">
                                                                            Present %
                                                                        </p>
                                                                    </div>
                                                                    <div class="icon">
                                                                        <i class="ion ion-stats-bars"></i>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-lg-2   col-xs-6 cursor-pointer">
                                                                <div class="bg-teal width-100">
                                                                    <div class="padd text-center">
                                                                        <h3>
                                                                            <span id="TotalPeriodicSpan" class="fnt">
                                                                                <asp:Label ID="TotalCountLabel" runat="server" Text="0"></asp:Label></span></h3>
                                                                        <p class="marg">
                                                                            Total Count
                                                                        </p>
                                                                    </div>
                                                                    <div class="icon">
                                                                        <i class="ion ion-stats-bars"></i>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-lg-2 col-xs-6 cursor-pointer">
                                                                <div class="bg-orange width-100">
                                                                    <div class="padd text-center">
                                                                        <h3>
                                                                            <span id="TotalInProgressSpan" class="fnt">
                                                                                <asp:Label ID="MotherPresentLabel" runat="server" Text="0"></asp:Label></span></h3>
                                                                        <p class="marg">
                                                                            Present Count
                                                                        </p>
                                                                    </div>
                                                                    <div class="icon">
                                                                        <i class="ion ion-stats-bars"></i>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <!-- ./col -->
                                                            <div class="col-lg-2 col-xs-6 cursor-pointer">
                                                                <div class="bg-aqua width-100">
                                                                    <div class="padd text-center">
                                                                        <h3>
                                                                            <span id="TotalApprovedSpan" class="fnt">
                                                                                <asp:Label ID="FatherPresentLabel" runat="server" Text="0"></asp:Label></span></h3>
                                                                        <p class="marg">
                                                                            Absent Count
                                                                        </p>
                                                                    </div>
                                                                    <div class="icon">
                                                                        <i class="ion ion-person-add"></i>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-lg-2 col-xs-6 cursor-pointer">
                                                                <div class="bg-green width-100">
                                                                    <div class="padd text-center">
                                                                        <h3>
                                                                            <span id="LateCountSpan" class="fnt">
                                                                                <asp:Label ID="LateCountLabel" runat="server" Text="0"></asp:Label></span></h3>
                                                                        <p class="marg">
                                                                            Late Count
                                                                        </p>
                                                                    </div>
                                                                    <div class="icon">
                                                                        <i class="ion ion-person-add"></i>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="col-lg-2 col-xs-6 cursor-pointer">
                                                                <div class="bg-olive width-100">
                                                                    <div class="padd text-center">
                                                                        <h3>
                                                                            <span id="EarlyCountSpan" class="fnt">
                                                                                <asp:Label ID="EarlyCountLabel" runat="server" Text="0"></asp:Label></span></h3>
                                                                        <p class="marg">
                                                                            Early Count
                                                                        </p>
                                                                    </div>
                                                                    <div class="icon">
                                                                        <i class="ion ion-person-add"></i>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="himsBoxHeader col-md-12 pTop15" id="NewsDiv" visible="false" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent table-responsive ptop5">
                                                        <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                            <ContentTemplate>
                                                                <div id="Div5" runat="server" visible="false">
                                                                    <asp:GridView ID="AttendanceListGridView" runat="server" AutoGenerateColumns="False"
                                                                        OnPageIndexChanging="AttendanceListGridView_PageIndexChanging" CssClass="table table-striped table-bordered table-hover"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No Record Found !!!">
                                                                        <Columns>
                                                                            <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                                HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                        Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField ItemStyle-Width="10%">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="IDNoCodeLabel" runat="server" Text='<%#Eval("StudentCode") %>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:BoundField DataField="ClassName" HeaderText="Class" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:BoundField DataField="StudentRollNo" HeaderText="Roll No" ItemStyle-Width="5%"
                                                                                HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:BoundField DataField="UIDNumber" HeaderText="UID Number" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:BoundField DataField="AttendanceTypeName" HeaderText="Attendance Type" ItemStyle-Width="10%"
                                                                                HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:BoundField DataField="SubjectName" HeaderText="Subject" ItemStyle-Width="10%"
                                                                                HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:BoundField DataField="AttendanceGroupName" HeaderText="Attendance Group" ItemStyle-Width="10%"
                                                                                HeaderStyle-HorizontalAlign="Left" />
                                                                            <%--<asp:BoundField DataField="SubjectName" HeaderText="Subject Name" ItemStyle-Width="10%"
                                                                                HeaderStyle-HorizontalAlign="Left" />--%>
                                                                            <asp:BoundField DataField="AttendanceDate" HeaderText="Attendance Date" DataFormatString="{0:dd/MM/yyyy}"
                                                                                ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:BoundField DataField="RepeatCount" HeaderText="Period No" ItemStyle-Width="5%"
                                                                                HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:TemplateField HeaderText="Present" ItemStyle-Width="5%" SortExpression="IsPresent"
                                                                                HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="ObsoleteLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsPresent").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:BoundField DataField="AbsentReasonName" HeaderText="Absent Reason" ItemStyle-Width="10%"
                                                                                HeaderStyle-HorizontalAlign="Left" />
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                            </div>
                            <!-- Sub Container2 Box Ends -->
                            <!-- Sub Container1 Box Start -->
                            <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                                <div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-wrench"></i>
                                                <asp:Label ID="NewsDetailLabel" runat="server" Text="Maintenance"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                    <div class="fRight mt-27 pagination display-flex ">
                                        <table>
                                            <tr>
                                                <td class="formLabel">
                                                    <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                        <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                            runat="server" CommandName="Page" CommandArgument="First"
                                                            OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-fast-backward"></i>
                                                        </asp:LinkButton>
                                                        <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                            runat="server" CommandName="Page" CommandArgument="Prev"
                                                            OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-play fa-rotate-180"></i>
                                                        </asp:LinkButton>
                                                        &nbsp;
                                                    <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                        <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                        <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                        <asp:Label ID="TotalRecord" runat="server" />
                                                        &nbsp;
                                                <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                    runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Next"
                                                    OnClick="NextImageButton_Click">
                                                     <i class="fa fa-play"></i>
                                                </asp:LinkButton>
                                                        <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                            runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Last"
                                                            OnClick="LastRecordImageButton_Click">
                                                      <i class="fa fa-fast-forward"></i>
                                                        </asp:LinkButton>
                                                        &nbsp;  &nbsp; &nbsp;
                                                    </div>
                                                </td>
                                                <td>
                                                    <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" />
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body">
                                    <div class="contentHolder">
                                        <div class="tableContainer">
                                            <div class="contentHolder">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="IdNoLabel" runat="server" Text="ID No"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5 display-flex">
                                                        <asp:TextBox ID="IdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="200">
                                                        </asp:TextBox>
                                                        <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="IdNoImageButton"
                                                            runat="server" ImageUrl="../../../../Images/icons/icon_find.gif" />
                                                        <asp:HiddenField ID="AcademicIdHiddenField" runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="EmployeeCodeLabel" runat="server" Text="Employee Code"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="EmployeeCodeTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            MaxLength="100" AutoPostBack="true" OnTextChanged="EmployeeCodeTextBox_TextChanged"> </asp:TextBox>
                                                        <asp:ImageButton SkinID="FindImage" ToolTip="Drug Search" ID="EmployeeCodeImageButton"
                                                            runat="server" ImageUrl="../../../../Images/icons/icon_find.gif" />
                                                        <asp:HiddenField ID="EmployeeIdHiddenField" runat="server" />
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="AttendanceTypeLabel" runat="server" Text="Attendance Type" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="AttendanceTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            AutoPostBack="true" OnSelectedIndexChanged="AttendanceTypeDropDownList_OnSelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div id="SubjectDiv" runat="server" visible="false">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SubjectLabel" runat="server" Text="Subject"></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_OnSelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="RepeatCountLabel" runat="server" Text="Repeat Count" Visible="false"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="RepeatCountDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                Visible="false">
                                                            </asp:DropDownList>
                                                            <asp:HiddenField ID="RepeatCountHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="AttendanceDateLabel" runat="server" Text=" Attendance Date" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="AttendanceDatePickerControl"
                                                            runat="server" />
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="IsPresentLabel" runat="server" Text="Present"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:CheckBox ID="IsPresentCheckBox" runat="server" Text="Present" />
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="AbsentReasonLabel" runat="server" Text="Absent Reason"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="AbsentReasonDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- Sub Container1 Box Ends -->
                        </div>
                    </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--   <script data-main="../../JavaScript/rjs/encrypt/attendance-list-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
