<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Attendance_AttendanceFollowup, App_Web_22dd4p5u" 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 Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <Triggers>
            <asp:PostBackTrigger ControlID="ExportButton" />
        </Triggers>
        <ContentTemplate>
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <Std:StudentSearch ID="StudentSearch1" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <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>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box" runat="server" id="SearchDiv">
                        <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="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27 ">
                                        <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" Text="&#xf067; Add" SkinID="0" CssClass="btn btn-add fas" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div class="cBoth">
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="FromFollowupDateLabel" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="FromFollowupDatePickerControl" runat="server" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ToFollowupDateLabel" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="ToFollowupDatePickerControl" runat="server" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="AttendanceTypeLabel" 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()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchPresentStatusLabel" runat="server" Text="Present Status"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="SearchPresentStatusDropDownList" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                <asp:ListItem Text="- ALL -" Value="-1"></asp:ListItem>
                                                <asp:ListItem Text="Absent" Value="0"></asp:ListItem>
                                                <asp:ListItem Text="Present" Value="1"></asp:ListItem>
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <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()" AutoPostBack="false">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <%--<div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchIDNoLabel" runat="server" Text="ID No" meta:resourcekey="IDNoLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="SearchIDNoTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                onmouseenter="showHideTooltip()" meta:resourcekey="IDNoSearchTextBoxResource1"
                                                MaxLength="20"></asp:TextBox>
                                        </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" SkinID="CustomWidthTextBox" runat="server"
                                                MaxLength="200" AutoPostBack="true" OnTextChanged="SearchSourceCodeTextBox_TextChanged"> 
                                            </asp:TextBox>
                                            <asp:ImageButton SkinID="FindImage" ToolTip="ID Search" ID="SearchSourceCodeImageButton"
                                                runat="server" ImageUrl="../../Images/icons/icon_find.gif" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchStudentNameLabel" runat="server" Text="Name"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5  display-flex">
                                            <asp:TextBox ID="SearchStudentNameTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                MaxLength="200" Enabled="false"> 
                                            </asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="alignCenter col-md-12 pTop15 pb5">
                                        <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" OnClick="ResetButton_Click" SkinID="0" CssClass="btn-reset btn fas" />
                                        <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" OnClick="ExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" Visible="false" />
                                        <%--add for 28927 mantis--%>
                                        <asp:Button ID="ViewReportButton" runat="server" Text="&#xf15b; View Report" OnClick="ViewReportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" Enabled="false" />
                                    </div>
                                    <asp:HiddenField ID="AcademicIdHiddenField" runat="server" />
                                    <asp:HiddenField ID="AttendanceTypeIdHiddenField" runat="server" />
                                    <asp:HiddenField ID="FollowupDateHiddenField" runat="server" />
                                    <asp:HiddenField ID="IsPresentHiddenField" runat="server" />
                                    <asp:HiddenField ID="IdNoHiddenField" runat="server" />
                                    <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                                    <asp:HiddenField ID="IsEditmodeHiddenField" runat="server" />

                                    <div id="Div1" class="himssuHeader7WireBox col-md-12 pTop5" runat="server">
                                        <div class="himsBoxHeader" id="AttendanceFollowupDetailDiv" visible="false" runat="server">

                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle" style="width: 99%">
                                            </div>
                                        </div>
                                        <div class="himsBoxContent box-body box-solid gridviewfont">
                                            <div id="Div5" runat="server" visible="false" class="himsBoxContentMsg">
                                                <asp:GridView ID="AttendanceFollowupSearchGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                    AllowPaging="false" PageSize="5" SkinID="" PagerSettings-Visible="false" EmptyDataText="No Records Found !!"
                                                    DataKeyNames="AcademicId,AttendanceTypeId,FollowupDate,IsPresent,Code" OnRowDataBound="AttendanceFollowupSearchGridView_RowDataBound"
                                                    CssClass="table table-striped table-bordered table-hover">

                                                    <Columns>
                                                        <asp:TemplateField ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                            <ItemTemplate>
                                                                <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                    Text="Select" CausesValidation="false"></asp:LinkButton>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Class Division" ItemStyle-Width="7%">
                                                            <ItemTemplate>
                                                                <asp:Label ID="ClassDivisionLabel" runat="server" Text='<%#Eval("ClassDivision") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="4%">
                                                            <ItemTemplate>
                                                                <asp:Label ID="CodeLabel" runat="server" Text='<%#Eval("Code") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Roll No" ItemStyle-Width="5%">
                                                            <ItemTemplate>
                                                                <asp:Label ID="RollNoLabel" runat="server" Text='<%#Eval("RollNo") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="15%">
                                                            <ItemTemplate>
                                                                <asp:Label ID="NameLabel" runat="server" Text='<%#Eval("Name") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Followup Date" ItemStyle-Width="15%">
                                                            <ItemTemplate>
                                                                <asp:Label ID="FollowupDateLabel" runat="server" Text='<%#Convert.ToDateTime(Eval("FollowupDate")).ToShortDateString() %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <asp:TemplateField HeaderText="Present Contact No <br/> Permanent Contact No <br/> Emergency Contact No" ItemStyle-Width="12%">
                                                            <ItemTemplate>
                                                                <asp:Label ID="PresentContactNoLabel" runat="server" Text='<%#Eval("PresentContactNo") %>'></asp:Label>
                                                                <asp:Label ID="PermanentContactNoLabel" runat="server" Text='<%#Eval("PermanentContactNo") %>'></asp:Label>
                                                                <asp:Label ID="EmergencyContactNoLabel" runat="server" Text='<%#Eval("EmergencyContactNo") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <%--<asp:TemplateField HeaderText="Permanent Contact No" ItemStyle-Width="6%">
                                                        <ItemTemplate>
                                                            <asp:Label ID="PermanentContactNoLabel" runat="server" Text='<%#Eval("PermanentContactNo") %>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Emergency Contact No" ItemStyle-Width="6%">
                                                        <ItemTemplate>
                                                            <asp:Label ID="EmergencyContactNoLabel" runat="server" Text='<%#Eval("EmergencyContactNo") %>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>--%>
                                                        <asp:TemplateField HeaderText="Parent Contact No <br/> Student Contact No" ItemStyle-Width="12%">
                                                            <ItemTemplate>
                                                                <asp:Label ID="ParentContactNoLabel" runat="server" Text='<%#Eval("ParentContactNo") %>'></asp:Label>
                                                                <asp:Label ID="StudentContactNoLabel" runat="server" Text='<%#Eval("StudentContactNo") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <%--    <asp:TemplateField HeaderText="Student Contact No" ItemStyle-Width="6%">
                                                        <ItemTemplate>
                                                            <asp:Label ID="StudentContactNoLabel" runat="server" Text='<%#Eval("StudentContactNo") %>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>--%>

                                                        <%--add for 28927 mantis start--%>
                                                        <asp:TemplateField HeaderText="Present Adress" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="PresentAdressLabel" runat="server" Text='<%#Eval("PresentAdress") %>'></asp:Label>
                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                        <%--add for 28927 mantis end--%>

                                                        <asp:TemplateField HeaderText="Remark" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                            <ItemTemplate>
                                                                <asp:Label ID="RemarkLabel" runat="server" Text='<%#Eval("Remark") %>'></asp:Label>

                                                            </ItemTemplate>
                                                        </asp:TemplateField>
                                                    </Columns>
                                                    <PagerSettings Visible="False" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                        </div>
                        </asp:Panel>
                    </div>
                </div>
                <div class="himssuHeader1WireBox card card-box" runat="server" id="DetailDiv" visible="false">
                    <div class="himsBoxHeader card-head">
                        <div class="leftdiv">
                        </div>
                        <div class="himsBoxTitle">
                            <div class="headerText">
                                <header>
                                    <i class="fas fa-level-up-alt"></i>
                                    <asp:Label ID="Label1" runat="server" Text="Attendance Followup"></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="outerBox pTop5 col-md-3">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="Label3" runat="server" Text="Followup Date" SkinID="MandatoryLabel"></asp:Label>
                                </div>
                                <div class="fLeft pRight5">
                                    <Date:DatePickerControl DisplayDatePicker="true" ID="FollowupDatePickerControl" runat="server" />
                                </div>
                            </div>
                            <div class="outerBox pTop5 col-md-3">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="AttendanceTypeLabel1" 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()">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="outerBox pTop5 col-md-3">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="ClassLabel" runat="server" Text="Class" 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_OnSelectedIndexChanged">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="outerBox pTop5 col-md-3">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="DivisionLabel" runat="server" Text="Division" 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="false">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="outerBox pTop5 col-md-3">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="PresentStatusLabel" runat="server" Text="Present Status" SkinID="MandatoryLabel"></asp:Label>
                                </div>
                                <div class="fLeft pRight5">
                                    <asp:DropDownList runat="server" ID="PresentStatusDropDownList" 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="IDNoLabel" runat="server" Text="ID No"></asp:Label>
                                </div>
                                <div class="fLeft pRight5  display-flex">
                                    <asp:TextBox ID="IDNoTextBox" SkinID="CustomWidthTextBox" runat="server"
                                        MaxLength="200" AutoPostBack="true" OnTextChanged="SourceCodeTextBox_TextChanged"> 
                                    </asp:TextBox>
                                    <asp:ImageButton SkinID="FindImage" ToolTip="ID Search" ID="SourceCodeImageButton"
                                        runat="server" ImageUrl="../../Images/icons/icon_find.gif" />
                                </div>
                            </div>
                            <div class="outerBox pTop5 col-md-3">
                                <div class="controlLabelWidth">
                                    <asp:Label ID="StudentNameLabel" runat="server" Text="Name"></asp:Label>
                                </div>
                                <div class="fLeft pRight5  display-flex">
                                    <asp:TextBox ID="StudentNameTextBox" SkinID="CustomWidthTextBox" runat="server"
                                        MaxLength="200" Enabled="false"> 
                                    </asp:TextBox>
                                </div>
                            </div>
                            <%--<div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="IDNoLabel" runat="server" Text="ID No" meta:resourcekey="IDNoLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="IDNoTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                            onmouseenter="showHideTooltip()" meta:resourcekey="IDNoSearchTextBoxResource1"
                                            MaxLength="20"></asp:TextBox>
                                    </div>
                                </div>--%>

                            <div class="alignCenter pTop5 col-md-12">
                                <asp:Button ID="ApplyButton" Text="&#xf00c; Apply" runat="Server" OnClick="ApplyButton_Click" SkinID="0" CssClass="fas btn btn-assign " />
                            </div>
                            <div id="Div2" class="himssuHeader7WireBox col-md-12 pTop5" runat="server" visible="false">
                                <div class="himsBoxHeader" id="Div3" visible="false" runat="server">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle" style="width: 99%">
                                    </div>
                                </div>
                                <div class="himsBoxContent box-body box-solid gridviewfont">
                                    <div id="GridViewDiv" class="himsBoxContentMsg" runat="server" visible="False">
                                        <asp:GridView ID="AttendanceFollowupGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                            AllowPaging="false" PageSize="5" SkinID="" PagerSettings-Visible="false" EmptyDataText="No Records Found !!"
                                            DataKeyNames="AcademicId,IsOnLeave" OnRowDataBound="AttendanceFollowupGridView_RowDataBound"
                                            CssClass="table table-striped table-bordered table-hover">

                                            <Columns>
                                                <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="3%"
                                                    ItemStyle-Wrap="true">
                                                    <HeaderTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                Visible="true" OnCheckedChanged="HeaderSelectCheckBox_CheckedChanged" />
                                                            <span></span>
                                                        </label>
                                                    </HeaderTemplate>
                                                    <ItemStyle HorizontalAlign="Center" />
                                                    <ItemTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                            <span></span>
                                                        </label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:BoundField DataField="ClassDivision" HeaderText="Class Division" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                <asp:TemplateField HeaderText="Code" ItemStyle-Width="4%">
                                                    <ItemTemplate>
                                                        <asp:Label ID="CodeLabel" runat="server" Text='<%#Eval("Code") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Roll No" ItemStyle-Width="5%">
                                                    <ItemTemplate>
                                                        <asp:Label ID="RollNoLabel" runat="server" Text='<%#Eval("RollNo") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="15%">
                                                    <ItemTemplate>
                                                        <asp:Label ID="NameLabel" runat="server" Text='<%#Eval("Name") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Present Contact No <br/> Permanent Contact No <br/> Emergency Contact No" ItemStyle-Width="12%">
                                                    <ItemTemplate>
                                                        <asp:Label ID="PresentContactNoLabel" runat="server" Text='<%#Eval("PresentContactNo") %>'></asp:Label>
                                                        <asp:Label ID="PermanentContactNoLabel" runat="server" Text='<%#Eval("PermanentContactNo") %>'></asp:Label>
                                                        <asp:Label ID="EmergencyContactNoLabel" runat="server" Text='<%#Eval("EmergencyContactNo") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <%--<asp:TemplateField HeaderText="Permanent Contact No" ItemStyle-Width="6%">
                                                        <ItemTemplate>
                                                            <asp:Label ID="PermanentContactNoLabel" runat="server" Text='<%#Eval("PermanentContactNo") %>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Emergency Contact No" ItemStyle-Width="6%">
                                                        <ItemTemplate>
                                                            <asp:Label ID="EmergencyContactNoLabel" runat="server" Text='<%#Eval("EmergencyContactNo") %>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>--%>
                                                <asp:TemplateField HeaderText="Parent Contact No <br/> Student Contact No" ItemStyle-Width="12%">
                                                    <ItemTemplate>
                                                        <asp:Label ID="ParentContactNoLabel" runat="server" Text='<%#Eval("ParentContactNo") %>'></asp:Label>
                                                        <asp:Label ID="StudentContactNoLabel" runat="server" Text='<%#Eval("StudentContactNo") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <%-- <asp:TemplateField HeaderText="Student Contact No" ItemStyle-Width="6%">
                                                        <ItemTemplate>
                                                            <asp:Label ID="StudentContactNoLabel" runat="server" Text='<%#Eval("StudentContactNo") %>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>--%>
                                                <%-- <asp:TemplateField HeaderText="ID No" ItemStyle-Width="10%">
                                                    <ItemTemplate>
                                                        <asp:Label ID="IdNoLabel" runat="server" Text='<%#Eval("Code") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>--%>

                                                <asp:TemplateField HeaderText="Remark" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:TextBox runat="server" ID="RemarkTextBox" SkinID="CustomWidthDropDownList" Text='<%# Bind("Remark") %>'
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" TextMode="MultiLine">
                                                        </asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Leave Entry" ItemStyle-Width="10%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Button ID="LeaveRequestRedirectButton" Text="Leave Entry" runat="Server" OnClick="LeaveRequestRedirectButton_Click" SkinID="0" CssClass="fas btn btn-assign " />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <PagerSettings Visible="False" />
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script type="text/javascript">
        function RemoveQueryString() {
            if (window.parent.location.href.match(/StudentId=/)) {
                if (typeof (history.pushState) != "undefined") {
                    var obj = { Title: document.title, Url: window.parent.location.pathname };
                    history.pushState(obj, obj.Title, obj.Url);
                } else {
                    window.parent.location = window.parent.location.pathname;
                }
                setTimeout(function () {

                });
            }
        }
    </script>
    <%-- <script data-main="../../JavaScript/rjs/encrypt/charge-receipt-bookmaster-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <%--    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/charge-receipt-bookmaster")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/attendance-followup")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
