<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hostel_AttendanceForBreak, App_Web_5czj5ree" 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/Canteen/CanteenDetailBoxControl.ascx" TagName="CanteenControl" TagPrefix="Canteen" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch"
    TagPrefix="Std" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <Std:StudentSearch ID="SearchStudentSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
                
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                   
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="226"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                           
                            </div>
                            <div class="whiteboxpaddingleft row">
                                  <Canteen:CanteenControl ID="CanteenUserControl" runat="server" Visible="true" />
                                <div class="himssuHeader5WireBox  card card-box" id="SearchDiv" 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-registered"></i>
                                                        <asp:Label ID="Label3" runat="server" Text="Attendance Register"></asp:Label>
                                                    </header>
                                                    
                                                </div>
                                                <div class="fRight mt-27 pTop5">
                                                    <asp:Button ID="ListButtonID" runat="server" OnClick="ListButton_Click" SkinID="0" class="btn-list btn fas" Text="&#xf0ca; List" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="SearchPanel" runat="Server">
                                            <div class="contentHolder">
                                                
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="BuildingLabel" runat="server" Text="Break Type" SkinID="MandatoryLabel"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="BreakTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="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="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="ClassLabel" runat="server" Text="Class"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="ClassDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            OnSelectedIndexChanged="ClassDropDownList_SelectedIndexChanged" AutoPostBack="true">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="DivisionLabel" runat="server" Text="Division"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            AutoPostBack="false">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                              
                                                <div class="alignCenter pTop5 col-md-12">
                                                    <asp:Button ID="SearchButton" Text="&#xf044; Apply" runat="Server" OnClick="SearchButton_Click" SkinID="0" CssClass="btn btn-apply fas " />
                                                    <asp:Button ID="ExportButton" Text="&#xf093; Export" runat="Server" OnClick="ExportButton_Click" SkinID="0" CssClass="btn btn-examcommon fas " />
                                                </div>
                                               
                                                <div id="Div1" class="himssuHeader7WireBox col-md-12 pb5 mt2" runat="server" visible="false">
                                                    <div id="GridViewPagerDiv" runat="server" visible="True">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="gridHeaderText fLeft">
                                                                <asp:Label ID="TNoteLabel" Text="" runat="server" />
                                                                <asp:Label ForeColor="Red" ID="NoteLabel" Text="" runat="server" Visible="false"/>
                                                                <asp:Label ID="TotalStudentLabel" Text="" runat="server" />
                                                                <asp:Label ID="PresentStudentLabel" Text="" runat="server" />
                                                                <asp:Label ID="AbsentStudentLabel" Text="" runat="server" />
                                                                <asp:Label ID="AbsentStudentRollNoLabel" Text="" runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent">
                                                        <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server"
                                                            visible="False">
                                                        </div>
                                                        <div class="table-responsive">
                                                        <asp:GridView ID="HostelAttendaceGridView" runat="server" AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!" OnRowDataBound="HostelAttendaceGridView_RowDataBound"
                                                            AllowPaging="false"
                                                            ShowHeader="true"
                                                            DataKeyNames="SourceId,BreakTypeId,SourceTypeId"
                                                            CssClass="table table-striped table-bordered table-hover"
                                                            PagerSettings-Visible="false"
                                                            OnPageIndexChanging="HostelAttendaceGridView_PageIndexChanging">
                                                            <Columns>

                                                                <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%"
                                                                    ItemStyle-Wrap="true">
                                                                    <HeaderTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true" OnCheckedChanged="HeaderSelectCheckBox2_checked"
                                                                                Visible="true" />
                                                                            <span></span>
                                                                        </label>

                                                                    </HeaderTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                    <ItemTemplate>
                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                            <asp:CheckBox ID="SelectCheckBox" onclick="Check_Click(this);" Checked='<%#Eval("IsDeleted")%>'
                                                                                runat="server" />
                                                                            <span></span>
                                                                        </label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                 <asp:TemplateField HeaderText="SUID" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="SUIDLabel" runat="server" Text='<%# Bind("SUID") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Class" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ClassLabel" runat="server" Text='<%# Bind("ClassName") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Division" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="DivisionLabel" runat="server" Text='<%# Bind("DivisionName") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Roll No" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="RollNoLabel" runat="server" Text='<%# Bind("RollNo") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="ID No" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="IDNoLabel" runat="server" Text='<%# Bind("Code") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="35%" ItemStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="NameLabel" runat="server" Text='<%# Bind("Name") %>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <%--<asp:BoundField DataField="SUId" HeaderText="SUID" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                <%--<asp:BoundField DataField="ClassName" HeaderText="Class" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                <%--<asp:BoundField DataField="DivisionName" HeaderText="Division" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                <%--<asp:BoundField DataField="RollNo" HeaderText="Roll No" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                <%--<asp:BoundField DataField="Code" HeaderText="ID No" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                <%--<asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="35%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                          <%--      <asp:TemplateField ItemStyle-Wrap="true">
                                                                    <HeaderTemplate>
                                                                        <asp:CheckBox ID="HeaderIsPresentCheckBox" runat="server" Text="Present" onClick="checkAllRows(this);" />
                                                                    </HeaderTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" />
                                                                    <ItemTemplate>
                                                                        <asp:CheckBox ID="IsPresentCheckBox" runat="server" Checked='<%# Bind("IsPresent") %>' onClick="checkUncheckHeaderCheckBox(this);" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>--%>


                                                              <%--  <asp:TemplateField HeaderText="Break Type" ItemStyle-Width="15%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:DropDownList runat="server" ID="AbsentReasonDropDownList" SkinID="CustomWidthDropDownList"
                                                                            Width="154px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>--%>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                                <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                                    <div class="himsBoxHeader card-head" id="Div6" runat="server" visible="True">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText fLeft">
                                                <header>
                                                    <i class="fas fa-list-ul"></i>
                                                      <asp:Label ID="Label2" Text="AttendanceRegister List" runat="server" />
                                                </header>
                                              
                                            </div>
                                        </div>
                                        <div class="fRight mt-27">
                                            <table>
                                                <tr>
                                                    <td class="formLabel">
                                                        <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                            <%--<asp:ImageButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                                OnClick="FirstRecordImageButton_Click" />
                                                            <asp:ImageButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                                OnClick="PreviousImageButton_Click" />
                                                            <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" />
                                                            <asp:ImageButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" />
                                                            <asp:ImageButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                                OnClick="LastRecordImageButton_Click" />--%>
                                                        </div>
                                                    </td>
                                                    <td>
                                                         <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                            class="btn btn-back fas" Text="&#xf30a; Back" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="Panel3" runat="Server">
                                            <div class="contentHolder">
                                                <asp:Panel ID="Panel2" runat="Server">

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label1" runat="server" Text="Break Type"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="SearchBreakTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                                class="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="SearchPresentLabel" runat="server" Text="Status"></asp:Label>
                                                        </div>
                                                        <div class="controlLabelWidth">
                                                            <asp:DropDownList runat="server" ID="SearchPresentDropDownList" SkinID="CustomWidthDropDownList"
                                                                Width="154px" 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="20">
                                                            </asp:TextBox>
                                                            <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="SearchIdNoImageButton"
                                                                runat="server" ImageUrl="../../../../Images/icons/icon_find.gif" />
                                                            <asp:HiddenField ID="StudentIdHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                    
                                                    <div class="outerBox pTop5 col-md-3" id="SUIdDiv" runat="server">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SuidLabel" runat="server" Text="SUID"></asp:Label>
                                                        </div>
                                                        <div class="controlLabelWidth">
                                                            <asp:TextBox runat="server" ID="SuidTextBox" SkinID="CustomWidthTextBox"
                                                                 onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="50">
                                                            </asp:TextBox>
                                                        </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="alignCenter pTop5 col-md-12">
                                                        <asp:Button ID="SearchListButton" Text="&#xf002; Search" runat="Server"
                                                           SkinID="0" class="btn-search btn fas" OnClick="SearchListButton_Click" />
                                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click" class="btn-reset btn fas" SkinID="0"/>
                                                    </div>
                                                </asp:Panel>
                                                <div id="Div2" class="himssuHeader7WireBox col-md-12 pb5 mt2" runat="server">
                                                    <div id="NewsDetailDiv" visible="false" runat="server">
                                                        <div class="outerBox himsBoxContent pTop5" >
                                                            <div class="row">
                                                                <%--<div  style="width:100px;height:100px;border:1px solid #000; ">This is a rectangle!</div>--%>

                                                                

                                                                <%--<div class="col-lg-3 col-xs-6" >
                                                                    <div style="background-color: ButtonShadow; color: white !important; text-align: center; border-radius: 4px;">
                                                                        <div class="padd">
                                                                            <h3 style="margin-bottom: 5px"><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>--%>
                                                                 
                                                                
                                                                <!-- ./col -->
                                                                
                                                            </div>
                                                        </div>
                                                        <div id="Div3" runat="server" visible="True">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="gridHeaderText fLeft">
                                                                   <%-- <asp:Label ID="Label4" Text="" runat="server" />
                                                                    <asp:Label ForeColor="Red" ID="Label5" Text="" runat="server" Visible="false"/>--%>
                                                                   <span><b>Total Count : </b> <asp:Label ID="TotalCountLabel" Text="" runat="server" /></span>
                                                                    <%--<asp:Label ID="Label7" Text="" runat="server" />
                                                                    <asp:Label ID="Label8" Text="" runat="server" />
                                                                    <asp:Label ID="Label9" Text="" runat="server" />--%>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        
                                                        <div class="himsBoxHeader" id="AttendanceListDiv">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="fRight mt-27">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                <ContentTemplate>
                                                                    <div id="Div5">
                                                                        <div class="table-responsive">
                                                                        <asp:GridView ID="AttendanceListGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No Record Found !!!" OnRowDataBound="AttendanceListGridView_RowDataBound">
                                                                            <Columns>
                                                                                <%--<asp:BoundField DataField="AttendanceType" HeaderText="Attendance Type" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                <asp:BoundField DataField="SUId" HeaderText="SUId" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="StudentCode" HeaderText="ID No" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="BreakType" HeaderText="Break Type" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                                                <asp:BoundField DataField="BreakDate" HeaderText="BreakDate" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-Width="10%" 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="15%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                               
                            </div>
                       
                </div>
            </div>
          
        </ContentTemplate>
    </asp:UpdatePanel>
<%--    <script data-main="../../JavaScript/rjs/encrypt/attendance-Register-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
   <%--  <script data-main="../../JavaScript/rjs/encrypt/fooditem-master-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/fooditem-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
