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

<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerAutoPostBackControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <div id="CPDiv">
        <asp:UpdatePanel ID="updPnlSearchGridView" runat="server">
            <ContentTemplate>
                <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="240"
                                                    Visible="true" runat="server" />
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="row whiteboxpaddingleft">
                        <div class="himssuHeader5WireBox card card-box" runat="server" id="SearchDiv">
                            <div class="himsBoxContent card-body">
                                <asp:Panel ID="DetailPanel" runat="Server">
                                    <div class="contentHolder">
                                        <div class="tableContainer">
                                            <div class="navgraybackground">
                                                <ul class="nav nav-tabs">
                                                    <li id="FeeList" runat="server"><a href="#tab_1">
                                                        <asp:Button Text="&#10004;  Fee" ID="FeeListButton" CssClass="fas transparenttab" OnClick="FeeListButton_Click"
                                                            SkinID="0" runat="server" AutoPostBack="True" />
                                                    </a></li>
                                                    <li id="AdmissionList" runat="server"><a>
                                                        <asp:Button Text="&#10004;  Admission" ID="AdmissionListButton" CssClass="fas transparenttab" OnClick="AdmissionListButton_Click"
                                                            SkinID="0" runat="server" AutoPostBack="True" />
                                                    </a></li>
                                                    <li id="StaffList" runat="server"><a>
                                                        <asp:Button Text="&#10004;  Staff" ID="StaffListButton" CssClass="Initial fas transparenttab" OnClick="StaffListButton_Click"
                                                            SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li id="StudentList" runat="server"><a>
                                                        <asp:Button Text="&#10004;  Student" ID="StudentListButton" CssClass="Initial fas transparenttab" OnClick="StudentListButton_Click" SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li id="TaskList" runat="server"><a>
                                                        <asp:Button Text="&#10004;  Task" ID="TaskListButton" CssClass="Initial fas transparenttab" OnClick="TaskListButton_Click"
                                                            SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li id="ChargeList" runat="server"><a href="#tab_1">
                                                        <asp:Button Text="&#10004;  Charge" ID="ChargeListButton" CssClass="fas transparenttab" OnClick="ChargeListButton_Click"
                                                            SkinID="0" runat="server" AutoPostBack="True" />
                                                    </a></li>
                                                </ul>
                                            </div>
                                            <div class="contentHolder" id="FeeDiv" runat="server">
                                                <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="OrgGroupBatchLabel" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>

                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="OrgGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="OrgGroupBatchDropDownList_SelectedIndexChanged"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                            </asp:DropDownList>

                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="FeeSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="FeeSyncButton_Click" />
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div class="navgraybackground">
                                                        <ul class="nav nav-tabs">
                                                            <li id="ReceiptLi" runat="server"><a href="#tab_1">
                                                                <asp:Button Text="Receipt" ID="ReceiptButton" CssClass="fas transparenttab" OnClick="ReceiptButton_Click"
                                                                    SkinID="0" runat="server" AutoPostBack="True" />
                                                            </a></li>
                                                            <li id="CollectionLi" runat="server"><a>
                                                                <asp:Button Text="Collection" ID="CollectionButton" CssClass="fas transparenttab" OnClick="CollectionButton_Click"
                                                                    SkinID="0" runat="server" AutoPostBack="True" />
                                                            </a></li>
                                                            <li id="PendingLi" runat="server"><a>
                                                                <asp:Button Text="Pending" ID="PendingButton" CssClass="Initial fas transparenttab" OnClick="PendingButton_Click"
                                                                    SkinID="0" runat="server" />
                                                            </a></li>
                                                            <li id="StatusLi" runat="server"><a>
                                                                <asp:Button Text="Status" ID="StatusButton" CssClass="Initial fas transparenttab" OnClick="StatusButton_Click"
                                                                    SkinID="0" runat="server" />
                                                            </a></li>
                                                            <li id="CollectionGroupLi" runat="server"><a>
                                                                <asp:Button Text="Collection Group wise" ID="CollectionGroupWiseButton" CssClass="Initial fas transparenttab" OnClick="CollectionGroupWiseButton_Click"
                                                                    SkinID="0" runat="server" />
                                                            </a></li>
                                                        </ul>
                                                    </div>
                                                    <div id="ReceiptDiv" class="himssuHeader6WireBox col-md-12" runat="server">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ReceiptFromDateLabel" runat="server" Text="From Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ReceiptFromDatePicker" runat="server" OnTextChanged="ReceiptFromDatePicker_TextChanged" />
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ReceiptToDateLabel" runat="server" Text="To Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ReceiptToDatePicker" runat="server" OnTextChanged="ReceiptToDatePicker_TextChanged" />
                                                            </div>
                                                        </div>
                                                        <%--changes for mantis Id:0041114 : Krunal K Patel : Added multiple OnRowDataBound--%>
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="LearningDetailUpdatePanel" runat="server">
                                                                <ContentTemplate>
                                                                    <div id="Div4" runat="server">
                                                                        <div id="Div6" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ReceiptListGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="ReceiptListGridView_RowDataBound">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptCount" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptCount")%>' OnClick="ReceiptCount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptAmount" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptAmount")%>' OnClick="ReceiptAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cancel Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CancelAmount" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CancelAmount")%>' OnClick="CancelAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div7" runat="server">
                                                                        <div id="Div8" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ReceiptCountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ReceiptBookId,CollectionGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptCollection")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptCountDetail" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptCount")%>' OnClick="ReceiptCountDetail_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div9" runat="server">
                                                                        <div id="Div10" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ReceiptAmountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ReceiptBookId,CollectionGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptCollection")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptAmountDetail" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptAmount")%>' OnClick="ReceiptAmountDetail_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div11" runat="server">
                                                                        <div id="Div12" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CancelAmountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ReceiptBookId,CollectionGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptCollection")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cancel Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CancelAmountDetail" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("CancelAmount")%>' OnClick="CancelAmountDetail_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div13" runat="server">
                                                                        <div id="Div14" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ReceiptDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Number" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptNumber" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptNumber")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Code" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Code")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Name")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptAmount")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>

                                                    </div>
                                                    <div id="CollectionDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="False">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="CollectionFromDateLabel" runat="server" Text="From Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="CollectionFromDatePickerControl" runat="server" OnTextChanged="CollectionFromDatePickerControl_TextChanged" />
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="CollectionToDateLabel" runat="server" Text="To Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="CollectionToDatePickerControl" runat="server" OnTextChanged="CollectionToDatePickerControl_TextChanged" />
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3" id="CustomGroupDiv" runat="server">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="CustomGroupLabel" runat="server" Text="Custom Group"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="CustomGroupDropDownList" runat="server" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True"
                                                                    OnSelectedIndexChanged="CustomGroupDropDownList_SelectedIndexChanged">
                                                                    <asp:ListItem Value="1">Receipt Book</asp:ListItem>
                                                                    <asp:ListItem Value="2">User Wise</asp:ListItem>
                                                                    <asp:ListItem Value="3">Organization Wise</asp:ListItem>
                                                                    <asp:ListItem Value="4">Fee Head Wise</asp:ListItem>
                                                                    <asp:ListItem Value="5">Fee Master Wise</asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                                                <ContentTemplate>
                                                                    <div id="Div15" runat="server">
                                                                        <div id="Div16" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupReceiptGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" OnPreRender="CollectionGroupReceiptGridView_PreRender" DataKeyNames="ReceiptBookId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="CollectionGroupReceiptGridView_RowDataBound">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptBook" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptBookName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupTotal_Click"></asp:LinkButton>
                                                                                            <asp:Label ID="CollectionGroupTotalLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("Total")%>' Visible="false"></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                                    <div id="Div17" runat="server">
                                                                        <div id="Div18" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupUserGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="UserId" OnPreRender="CollectionGroupUserGridView_PreRender"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="CollectionGroupUserGridView_RowDataBound">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="User" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="User" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UserName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupUserTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupUserTotal_Click"></asp:LinkButton>
                                                                                            <asp:Label ID="CollectionGroupUserTotalLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("Total")%>' Visible="false"></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                                    <div id="Div19" runat="server">
                                                                        <div id="Div20" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupOrganizationGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="CommonOrgId" OnPreRender="CollectionGroupOrganizationGridView_PreRender"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="CollectionGroupOrganizationGridView_RowDataBound">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Organization" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CommonOrgName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupOrgTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupOrgTotal_Click"></asp:LinkButton>
                                                                                            <asp:Label ID="CollectionGroupOrgTotalLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("Total")%>' Visible="false"></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                                    <div id="Div21" runat="server">
                                                                        <div id="Div22" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupHeadGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="CommonFeeId" OnPreRender="CollectionGroupHeadGridView_PreRender"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="CollectionGroupHeadGridView_RowDataBound">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Fee Head" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="FeeHead" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CommonFeeName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupHeadTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupHeadTotal_Click"></asp:LinkButton>
                                                                                            <asp:Label ID="CollectionGroupHeadTotalLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("Total")%>' Visible="false"></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                                    <div id="Div23" runat="server">
                                                                        <div id="Div24" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="CommonFeeId" OnPreRender="CollectionGroupMasterGridView_PreRender"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="CollectionGroupMasterGridView_RowDataBound">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Fee Master" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="FeeMaster" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CommonFeeName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupMasterTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupMasterTotal_Click"></asp:LinkButton>
                                                                                            <asp:Label ID="CollectionGroupMasterTotalLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("Total")%>' Visible="false"></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div25" runat="server">
                                                                        <div id="Div26" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Number" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Number" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptNumber")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Date" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DateLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptDate")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Name")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Amount")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                    <div id="PendingDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="False">

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="UptoDateLabel" runat="server" Text="Upto Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="PendingUptoDatePickerControl" runat="server" />
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3" id="Div2" runat="server">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="PendingTypeLabel" runat="server" Text="Type"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="PendingDropDownList" runat="server" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    <asp:ListItem Value="1">Receipt Book</asp:ListItem>
                                                                    <asp:ListItem Value="2">Organization Wise</asp:ListItem>
                                                                    <asp:ListItem Value="3">Department Wise</asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3" id="Div1" runat="server">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="PendingFeeTypeLabel" runat="server" Text="Fee Type"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="PendingFeeTypeDropDownList" runat="server" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    <asp:ListItem Value="1">Fee Head</asp:ListItem>
                                                                    <asp:ListItem Value="2">Fee Master</asp:ListItem>
                                                                    <asp:ListItem Value="3">Collection Group</asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3" id="Div3" runat="server">
                                                            <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">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="alignCenter col-md-12 pTop15">
                                                            <asp:Button ID="SearchButton" runat="server"
                                                                SkinID="0" CssClass="btn-search btn fas" Text=" Search" OnClick="SearchButton_Click" />
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                                <ContentTemplate>
                                                                    <div id="Div27" runat="server">
                                                                        <div id="Div28" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="PendingFeeGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" OnRowDataBound="PendingFeeGridView_RowDataBound"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div43" runat="server">
                                                                        <div id="Div44" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="PendingFeeDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>

                                                    </div>
                                                    <div id="StatusDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="False">
                                                        <div class="outerBox pTop5 col-md-3" id="Div5" runat="server">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label3" runat="server" Text="Custom Group"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="StatusGroupDropDownList" runat="server" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                    <asp:ListItem Value="1">Receipt Book</asp:ListItem>
                                                                    <asp:ListItem Value="2">Organization Wise</asp:ListItem>
                                                                    <asp:ListItem Value="3">Fee Head Wise</asp:ListItem>
                                                                    <asp:ListItem Value="4">Fee Master Wise</asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <asp:Button ID="StatusSearchButton" runat="server"
                                                                SkinID="0" CssClass="btn-search btn fas" Text=" Search" OnClick="StatusSearchButton_Click" />
                                                        </div>
                                                        <div id="Div29" runat="server">
                                                            <div id="Div30" runat="server" class="table-responsive">
                                                                <asp:GridView ID="ReceiptBookStatusGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="ReceiptBookId"
                                                                    SkinID="" ShowHeader="true" ShowFooter="True" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="ReceiptBookStatusGridView_RowDataBound">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Receipt Book" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StatusReceiptBook" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ReceiptBookTitle")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="StatusReceiptBookFooter" runat="server" CssClass="boxEllips" Text="Grand Total"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ReceiptTotalLabel" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("TotalAmount")%>' OnClick="ReceiptTotalLabel_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="ReceiptTotalFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Paid" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ReceiptPaid" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PaidAmount")%>' OnClick="ReceiptPaid_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="ReceiptPaidFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ReceiptPending" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PendingAmount")%>' OnClick="ReceiptPending_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="ReceiptPendingFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div31" runat="server">
                                                            <div id="Div32" runat="server" class="table-responsive">
                                                                <asp:GridView ID="OrganizationStatusGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="OrgId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="OrganizationStatusGridView_RowDataBound" ShowFooter="True">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="OrganizationLinkButton" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("OrgName")%>' OnClick="OrganizationLinkButton_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="OrgNameFooter" runat="server" CssClass="boxEllips" Text="Grand Total"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="OrganizationTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("TotalAmount")%>' OnClick="OrganizationTotal_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="OrganizationTotalFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Paid" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="OrganizationPaid" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PaidAmount")%>' OnClick="OrganizationPaid_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="OrganizationPaidFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="OrganizationPending" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PendingAmount")%>' OnClick="OrganizationPending_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="OrganizationPendingFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div98" runat="server">
                                                            <div id="Div99" runat="server" class="table-responsive">
                                                                <asp:GridView ID="ClassDivisionFeeStatusGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("DivisionName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassTotal" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("TotalAmount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Paid" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassPaid" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("PaidAmount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassPending" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("PendingAmount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div33" runat="server">
                                                            <div id="Div34" runat="server" class="table-responsive">
                                                                <asp:GridView ID="FeeHeadStatusGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="FeeHeadId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="FeeHeadStatusGridView_RowDataBound" ShowFooter="True">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="FeeHead" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="FeeHead" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("FeeHeadName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeHeadFooter" runat="server" CssClass="boxEllips" Text="Grand Total"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeHeadTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("TotalAmount")%>' OnClick="FeeHeadTotal_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeHeadTotalFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Paid" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeHeadPaid" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PaidAmount")%>' OnClick="FeeHeadPaid_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeHeadPaidFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeHeadPending" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PendingAmount")%>' OnClick="FeeHeadPending_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeHeadPendingFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div35" runat="server">
                                                            <div id="Div36" runat="server" class="table-responsive">
                                                                <asp:GridView ID="FeeStatusGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="FeeId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="FeeStatusGridView_RowDataBound" ShowFooter="True">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Fee Master" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="FeeMaster" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("FeeName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeMasterFooter" runat="server" CssClass="boxEllips" Text="Grand Total"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("TotalAmount")%>' OnClick="FeeTotal_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeTotalFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Paid" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeePaid" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PaidAmount")%>' OnClick="FeePaid_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeePaidFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeePending" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PendingAmount")%>' OnClick="FeePending_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeePendingFooter" runat="server" CssClass="boxEllips"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div37" runat="server">
                                                            <div id="Div38" runat="server" class="table-responsive">
                                                                <asp:GridView ID="StatusDetailGridView1" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("DivisionName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Code" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Code")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Name")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Contact" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ParentContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("PaidAmount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div39" runat="server">
                                                            <div id="Div40" runat="server" class="table-responsive">
                                                                <asp:GridView ID="StatusDetailGridView2" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("DivisionName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Code" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Code")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Name")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Contact" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ParentContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("PendingAmount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div41" runat="server">
                                                            <div id="Div42" runat="server" class="table-responsive">
                                                                <asp:GridView ID="StatusDetailGridView3" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("DivisionName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Code" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Code")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Name")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Contact" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ParentContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("TotalAmount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="FeeCollectionDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="False">
                                                        <div id="Div47" class="himssuHeader6WireBox col-md-12" runat="server">
                                                            <div class="himsBoxContent">
                                                                <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                                                                    <ContentTemplate>
                                                                        <div id="Div45" runat="server">
                                                                            <div id="Div46" runat="server" class="table-responsive">
                                                                                <asp:GridView ID="FeeStatusCollectionGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                    CssClass="table table-striped table-bordered table-hover" OnRowDataBound="FeeStatusCollectionGridView_RowDataBound"
                                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                    <PagerSettings Visible="False" />
                                                                                </asp:GridView>
                                                                            </div>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </asp:UpdatePanel>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                            <div class="contentHolder" id="AdmissionDiv" runat="server">
                                                <asp:Panel ID="Panel1" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="AdmissionGroupBatchLabel" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>

                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="AdmissionGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="AdmissionGroupBatchDropDownList_SelectedIndexChanged"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                            </asp:DropDownList>

                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="AdmissionSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="AdmissionSyncButton_Click" />
                                                    </div>
                                                    <div class="cBoth"></div>

                                                    <div class="navgraybackground">
                                                        <ul class="nav nav-tabs">
                                                            <li id="AdmissionFormLi" runat="server"><a href="#tab_1">
                                                                <asp:Button Text="Admission Form" ID="AdmissionFormButton" CssClass="fas transparenttab"
                                                                    SkinID="0" runat="server" AutoPostBack="True" OnClick="AdmissionFormButton_Click" />
                                                            </a></li>
                                                            <li id="AdmissionInquiryLi" runat="server" visible="false"><a>
                                                                <asp:Button Text="Admission Inquiry" ID="AdmissionInquiryButton" CssClass="fas transparenttab"
                                                                    SkinID="0" runat="server" AutoPostBack="True" OnClick="AdmissionInquiryButton_Click" />
                                                            </a></li>
                                                            <li id="AdmissionInquiryAndAdmissionFormLi" runat="server" visible="false"><a>
                                                                <asp:Button Text="Admission Inquiry And Admission Form" ID="AdmissionInquiryAndAdmissionFormButton" CssClass="fas transparenttab"
                                                                    SkinID="0" runat="server" AutoPostBack="True" OnClick="AdmissionInquiryAndAdmissionFormButton_Click" />
                                                            </a></li>
                                                        </ul>
                                                    </div>
                                                    <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                    <div id="AdmissionFormDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="true">
                                                        <div id="Div50" runat="server">
                                                            <div id="Div51" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionFormGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true" OnRowDataBound="AdmissionFormGridView_RowDataBound">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left"
                                                                            FooterText="Total" FooterStyle-HorizontalAlign="Left" FooterStyle-BackColor="#38445a" FooterStyle-ForeColor="White">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrganizationLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Organization")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ColumnwiseTotalLinkButton" runat="server" CssClass="boxEllips" OnClick="ColumnwiseTotalLinkButton_Click"
                                                                                    CommandName="TotalFormCount" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="ColumnTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Sorted" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="SortedCountLinkButton" runat="server" CssClass="boxEllips" OnClick="AdmissionFormCountLinkButton_Click"
                                                                                    Text='<%#Bind("SortedCount")%>' CommandName="SortedCount" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="SortedCountTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Selected" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="SelectedCountLinkButton" runat="server" CssClass="boxEllips" OnClick="AdmissionFormCountLinkButton_Click"
                                                                                    Text='<%#Bind("SelectedCount")%>' CommandName="SelectedCount" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="SelectedCountTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Confirmed" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ConfirmCountLinkButton" runat="server" CssClass="boxEllips" OnClick="AdmissionFormCountLinkButton_Click"
                                                                                    Text='<%#Bind("ConfirmCount")%>' CommandName="ConfirmCount" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="ConfirmCountTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Rejected" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="RejectedCountLinkButton" runat="server" CssClass="boxEllips" OnClick="AdmissionFormCountLinkButton_Click"
                                                                                    Text='<%#Bind("RejectedCount")%>' CommandName="RejectedCount" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="RejectedCountTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="PendingCountLinkButton" runat="server" CssClass="boxEllips" OnClick="AdmissionFormCountLinkButton_Click"
                                                                                    Text='<%#Bind("PendingCount")%>' CommandName="PendingCount" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="PendingCountTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <asp:HiddenField ID="AdmissionFormOrgHiddenField" runat="server" />
                                                        <asp:HiddenField ID="AdmissionFormInquiryStatusHiddenField" runat="server" />
                                                        <asp:HiddenField ID="AdmissionInquiryOrgHiddenField" runat="server" />
                                                        <asp:HiddenField ID="AdmissionInquiryInquiryStatusHiddenField" runat="server" />
                                                        <asp:HiddenField ID="AdmissionInquiryInquiryMainStatusHiddenField" runat="server" />
                                                        <div id="Div53" runat="server">
                                                            <div id="Div54" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionFormDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ClassId,OrgId,InquiryStatusId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                            </ItemTemplate>

                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AdmissionFormCount" runat="server" CssClass="boxEllips" OnClick="AdmissionFormCount_Click"
                                                                                    Text='<%#Bind("StatusCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div55" runat="server">
                                                            <div id="Div56" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionFormStudentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="IdLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("InquiryId")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Student Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ContactLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div id="AdmissionInquiryDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="False">
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="UpdatePanel6" runat="server">
                                                                <ContentTemplate>
                                                                    <div id="Div113" runat="server">
                                                                        <div id="Div114" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="AdmissionInquiryGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId"
                                                                                OnRowDataBound="AdmissionInquiryGridView_RowDataBound"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div115" runat="server">
                                                                        <div id="Div116" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="AdmissionInquiryDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ClassId,OrgId,InquiryStatusId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="AdmissionInquiryCount" runat="server" CssClass="boxEllips" OnClick="AdmissionInquiryCount_Click"
                                                                                                Text='<%#Bind("StatusCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div119" runat="server">
                                                                        <div id="Div120" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="AdmissionInquiryStudentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ClassId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="IdLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("InquiryId")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Student Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ContactLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                    <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                    <div id="AdmissionInquiryAndAdmissionFormDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="False">
                                                        <div id="Div129" runat="server">
                                                            <div id="Div130" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquiryAndAdmissionFormGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true" OnRowDataBound="AdmissionInquiryAndAdmissionFormGridView_RowDataBound">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left"
                                                                            FooterText="Total" FooterStyle-HorizontalAlign="Left" FooterStyle-BackColor="#38445a" FooterStyle-ForeColor="White">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="OrganizationInquiryAndFormCountLinkButton" runat="server" CssClass="boxEllips" OnClick="AdmissionInquiryAndFormCountLinkButton_Click"
                                                                                    Text='<%#Bind("Organization")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Inquiry" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="InquiryCount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("InquiryCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="InquiryCountTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Form" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="FormCount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("FormCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FormCountTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Converted" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ConvertedCount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ConvertedCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="ConvertedCountTotalLabel" runat="server" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div131" runat="server">
                                                            <div id="Div132" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquiryAndAdmissionFormDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ClassId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Inquiry" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="InquiryCount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("InquiryCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Form" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="FormCount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("FormCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Converted" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ConvertedCount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ConvertedCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>

                                            <div class="contentHolder" id="StaffDiv" runat="server">
                                                <asp:Panel ID="Panel4" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label5" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>

                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="StaffOrgGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="StaffOrgGroupBatchDropDownList_SelectedIndexChanged"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                            </asp:DropDownList>

                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="StaffSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="StaffSyncButton_Click" />
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div id="Div57" class="himssuHeader6WireBox col-md-12" runat="server">
                                                        <asp:Panel ID="Panel5" runat="server">
                                                            <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText">
                                                                        <header>
                                                                            <asp:Label ID="Label6" runat="server" Text="Staff Attendance"></asp:Label>
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <div id="Div58" runat="server">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label8" runat="server" Text="Upto Date"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="StaffAttendanceUptoDatePickerControl" runat="server" OnTextChanged="StaffAttendanceUptoDatePickerControl_TextChanged" />
                                                                </div>
                                                            </div>
                                                            <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                            <div id="Div59" runat="server" class="table-responsive">
                                                                <asp:GridView ID="StaffAttendanceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="StaffAttendanceGridView_RowDataBound">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="OrgGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="OrgGroupLinkButton_Click"
                                                                                    Text='<%#Bind("OrgGroupTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="TotalLinkButton" runat="server" CssClass="boxEllips" OnClick="TotalLinkButton_Click"
                                                                                    Text='<%#Bind("Total")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Present" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="PresentLinkButton" runat="server" CssClass="boxEllips" OnClick="PresentLinkButton_Click"
                                                                                    Text='<%#Bind("Present")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Absent" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AbsentLinkButton" runat="server" CssClass="boxEllips" OnClick="AbsentLinkButton_Click"
                                                                                    Text='<%#Bind("Absent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="PendingLinkButton" runat="server" CssClass="boxEllips" OnClick="PendingLinkButton_Click"
                                                                                    Text='<%#Bind("AttnNotTaken")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Leave" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="LeaveLinkButton" runat="server" CssClass="boxEllips" OnClick="LeaveLinkButton_Click"
                                                                                    Text='<%#Bind("Leave")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div65" runat="server" class="table-responsive">
                                                                <asp:GridView ID="StaffOrganizationAttendanceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffOrgLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgLinkButton_Click"
                                                                                    Text='<%#Bind("OrgTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffOrgTotalLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgTotalLinkButton_Click"
                                                                                    Text='<%#Bind("Total")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Present" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffOrgPresentLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgPresentLinkButton_Click"
                                                                                    Text='<%#Bind("Present")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Absent" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffOrgAbsentLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgAbsentLinkButton_Click"
                                                                                    Text='<%#Bind("Absent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffOrgPendingLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgPendingLinkButton_Click"
                                                                                    Text='<%#Bind("AttnNotTaken")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Leave" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffOrgLeaveLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgLeaveLinkButton_Click"
                                                                                    Text='<%#Bind("Leave")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div60" runat="server" class="table-responsive">
                                                                <asp:GridView ID="StaffAttendanceTotalDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId,DepartmentId,OrgId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Department" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DepartmentLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("DepartmentCode")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffDetailTotalLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailTotalLinkButton_Click"
                                                                                    Text='<%#Bind("Total")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Present" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffDetailPresentLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailPresentLinkButton_Click"
                                                                                    Text='<%#Bind("Present")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Absent" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffDetailAbsentLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailAbsentLinkButton_Click"
                                                                                    Text='<%#Bind("Absent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffDetailPendingLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailPendingLinkButton_Click"
                                                                                    Text='<%#Bind("AttnNotTaken")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Leave" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffDetailLeaveLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailLeaveLinkButton_Click"
                                                                                    Text='<%#Bind("Leave")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>

                                                            <asp:HiddenField ID="OtherLinkButtonClickHiddenField" runat="server" />
                                                            <asp:HiddenField ID="DepartmentViewHiddenField" runat="server" />
                                                            <div id="Div64" runat="server" class="table-responsive">
                                                                <asp:GridView ID="StaffAttendaceOtherGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="DepartmentId,Total"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="StaffAttendaceOtherGridView_RowDataBound">
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div61" runat="server" class="table-responsive">
                                                                <asp:GridView ID="EmployeeDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Id" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("EmployeeID")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Employee" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="EmployeeNameLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Designation" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Designation" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("EmployeeDesignation")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="D.O.J" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DateOfJoining" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("DateOfJoining")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Contact" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Leave Status" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="LeaveStatus" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("LeaveStatus")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div66" runat="server" class="table-responsive">
                                                                <asp:GridView ID="EmployeeOrgDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Department" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Id" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("DepartmentCode")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Id" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("EmployeeID")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Employee" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="EmployeeNameLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Designation" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Designation" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("EmployeeDesignation")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="D.O.J" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DateOfJoining" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("DateOfJoining")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Contact" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Leave Status" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="LeaveStatus" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("LeaveStatus")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="StaffAttendanceInquiryDiv" runat="server" visible="true">
                                                                <asp:Panel ID="Panel6" runat="server">
                                                                    <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <div class="headerText">
                                                                                <header>
                                                                                    <asp:Label ID="Label7" runat="server" Text="Staff Attendance Inquiry"></asp:Label>
                                                                                </header>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </asp:Panel>
                                                                <div id="Div62" runat="server">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label9" runat="server" Text="From Date"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="StaffAttendanceFromDatePickerControl" runat="server" OnTextChanged="StaffAttendanceFromDatePickerControl_TextChanged" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label10" runat="server" Text="To Date"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="StaffAttendanceToDatePickerControl" runat="server" OnTextChanged="StaffAttendanceToDatePickerControl_TextChanged" />
                                                                        </div>
                                                                    </div>
                                                                    <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                                    <div id="Div63" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="StaffAttendanceDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="StaffAttendanceDetailGridView_RowDataBound">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="StaffDepartmentOrgGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDepartmentOrgGroupLinkButton_Click"
                                                                                            Text='<%#Bind("OrgGroupTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="AB>10%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="AB10Label" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("AB10")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Absent 3 Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="Absent3DaysLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("AB3Days")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Leave 3 Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="Leave3DaysLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("Leave3Day")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="100% Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="Att100Label" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("HundredPerAttn")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                    <div id="Div52" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="StaffAttendanceDepartmentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId,DepartmentId,OrgId"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="Department" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="DepartmentLabel" runat="server" CssClass="boxEllips" OnClick="DepartmentLabel_Click"
                                                                                            Text='<%#Bind("DepartmentCode")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                                <asp:TemplateField HeaderText="AB>10%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="StaffDetailTotalLinkButton" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("AB10")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Absent3Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="StaffDetailPresentLinkButton" runat="server"
                                                                                            Text='<%#Bind("AB3Days")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Leave3Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="StaffDetailAbsentLinkButton" runat="server"
                                                                                            Text='<%#Bind("Leave3Day")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="100%Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="StaffDetailPendingLinkButton" runat="server"
                                                                                            Text='<%#Bind("HundredPerAttn")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                    <div id="Div67" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="StaffAttDepartmentDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="Employee" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="EmployeeNameLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("EmployeeName")%>'></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                                <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="TotalLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("Total")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Present" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="PresentLabel" runat="server"
                                                                                            Text='<%#Bind("Present")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Absent" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="AbsentLabel" runat="server"
                                                                                            Text='<%#Bind("Absent")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div id="BiometricCardDiv" runat="server" visible="true">
                                                                <asp:Panel ID="Panel10" runat="server">
                                                                    <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <div class="headerText">
                                                                                <header>
                                                                                    <asp:Label ID="Label24" runat="server" Text="Biometric Attendance"></asp:Label>
                                                                                </header>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </asp:Panel>
                                                                <div id="Div48" runat="server">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label25" runat="server" Text="Date"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="BiometricCardDateDatePickerControl" runat="server" OnTextChanged="BiometricCardDatePickerControl_TextChanged" />
                                                                        </div>
                                                                    </div>
                                                                    <%--<div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label26" runat="server" Text="To Date"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="BiometricCardToDateDateDatePickerControl" runat="server" OnTextChanged="StaffAttendanceToDatePickerControl_TextChanged" />
                                                                        </div>
                                                                    </div>--%>
                                                                    <%-- <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label27" runat="server" Text="Employee Code"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="BiometricCardTextBox" SkinID="CustomWidthTextBox" Width="150px" runat="server" MaxLength="100" AutoPostBack="true" OnTextChanged="BiometricCardDatePickerControl_TextChanged"> </asp:TextBox>
                                                                        </div>
                                                                    </div>--%>
                                                                    <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                                    <div id="StaffBiometricCardDetailDiv" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="StaffBiometricCardDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover" Visible="true"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="StaffBiometricCardDetailGridView_RowDataBound">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="BiometricCardOrgGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="BiometricCardOrgGroupLinkButton_Click"
                                                                                            Text='<%#Bind("OrgGroupTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="BiometricCardTotalCountLinkButton" runat="server" CssClass="boxEllips" OnClick="BiometricCardTotalCountLinkButton_Click"
                                                                                            Text='<%#Bind("TotalCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                        <%-- <asp:Label ID="AB10Label" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("TotalCount")%>'></asp:Label>--%>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="In" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="BiometricCardInCountLinkButton" runat="server" CssClass="boxEllips" OnClick="InCountLinkButton_Click"
                                                                                            Text='<%#Bind("InCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>

                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Out" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="BiometricCardOutCountLinkButton" runat="server" CssClass="boxEllips" OnClick="BiometricCardOutCountLinkButton_Click"
                                                                                            Text='<%#Bind("OutCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>

                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Both" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="BiometricCardBothCountLinkButton" runat="server" CssClass="boxEllips" OnClick="BiometricCardBothCountLinkButton_Click"
                                                                                            Text='<%#Bind("BothCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>

                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                    <div id="StaffBiometricDashboardDepartmentDetailDiv" runat="server" class="table-responsive" visible="false">
                                                                        <asp:GridView ID="StaffBiometricDashboardDepartmentDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover" Visible="true" DataKeyNames="OrgGroupId,DepartmentId"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="Department" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <%--<asp:LinkButton ID="BiometricCardDepartmentLinkButton" runat="server" CssClass="boxEllips" OnClick="BiometricCardDepartmentLinkButton_Click"
                                                                                            Text='<%#Bind("DepartmentCode")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>--%>
                                                                                        <asp:Label ID="DepartmentCodeLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("DepartmentCode")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="BiometricCardDepartmentTotalCountLinkButton" runat="server" CssClass="boxEllips" OnClick="BiometricCardDepartmentTotalCountLinkButton_Click"
                                                                                            Text='<%#Bind("TotalCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                        <%-- <asp:Label ID="AB10Label" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("TotalCount")%>'></asp:Label>--%>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="In" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="BiometricCardDepartmentInCountLinkButton" runat="server" CssClass="boxEllips" OnClick="BiometricCardDepartmentInCountLinkButton_Click"
                                                                                            Text='<%#Bind("InCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>

                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Out" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="BiometricCardDepartmentOutCountLinkButton" runat="server" CssClass="boxEllips" OnClick="BiometricCardDepartmentOutCountLinkButton_Click"
                                                                                            Text='<%#Bind("OutCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>

                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Both" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="BiometricCardDepartmentBothCountLinkButton" runat="server" CssClass="boxEllips" OnClick="BiometricCardDepartmentBothCountLinkButton_Click"
                                                                                            Text='<%#Bind("BothCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>

                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                    <div id="StaffBiometricDashboardEmployeeDetailDiv" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="StaffBiometricDashboardEmployeeDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="Employee Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="AB10Label" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("EmployeeCode")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                                <asp:TemplateField HeaderText="Employee Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="EmployeeNameLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="IN Time" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="INTimeLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("INTime")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="OUT Time" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="OUTTimeLable" runat="server"
                                                                                            Text='<%#Bind("OUTTime")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>

                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                            <div class="contentHolder" id="StudentDiv" runat="server">
                                                <asp:Panel ID="Panel2" runat="server">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label1" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>

                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="StudentOrgGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="StudentOrgGroupBatchDropDownList_SelectedIndexChanged"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                            </asp:DropDownList>

                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="StudentSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="StudentSyncButton_Click" />
                                                    </div>
                                                    <div class="cBoth"></div>

                                                    <div class="navgraybackground">
                                                        <ul class="nav nav-tabs">
                                                            <li id="StudentAttendanceList" runat="server"><a href="#tab_1">
                                                                <asp:Button Text="Student Attendance" ID="StudentAttendance" CssClass="fas transparenttab" OnClick="StudentAttendance_Click"
                                                                    SkinID="0" runat="server" AutoPostBack="True" />
                                                            </a></li>
                                                            <li id="StudentSubjectAttendanceList" runat="server"><a>
                                                                <asp:Button Text="Student Subject Attendance" ID="StudentSubjectAttendanceButton" CssClass="fas transparenttab" OnClick="StudentSubjectAttendanceButton_Click"
                                                                    SkinID="0" runat="server" AutoPostBack="True" />
                                                            </a></li>
                                                            <li id="StudentSummaryList" runat="server"><a>
                                                                <asp:Button Text="Student Summary" ID="StudentSummaryButton" CssClass="fas transparenttab" OnClick="StudentSummaryButton_Click"
                                                                    SkinID="0" runat="server" AutoPostBack="True" />
                                                            </a></li>
                                                        </ul>
                                                        <%--Here--%>

                                                        <div id="Div68" class="himssuHeader6WireBox col-md-12" runat="server">
                                                            <div id="Div100" runat="server">
                                                                <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 ID="AttendanceTypeDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="AttendanceTypeDropDownList_SelectedIndexChanged"
                                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <asp:Panel ID="Panel3" runat="server">
                                                                <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="headerText">
                                                                            <header>
                                                                                <asp:Label ID="Label2" runat="server" Text="Student Attendance"></asp:Label>
                                                                            </header>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </asp:Panel>
                                                            <div id="Div69" runat="server">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label4" runat="server" Text="Upto Date"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="StudentUptoDatePickerControl" runat="server" OnTextChanged="StudentUptoDatePickerControl_TextChanged" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                            <div id="Div70" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                                <asp:GridView ID="StudentAttendanceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="StudentAttendanceGridView_RowDataBound">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentOrgGroupLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("OrgGroupTitle")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Total Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="TotalStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="TotalStudentLinkButton_Click"
                                                                                    Text='<%#Bind("Total")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Present Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="PresentStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="PresentStudentLinkButton_Click"
                                                                                    Text='<%#Bind("PresentStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Absent Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AbsentStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="AbsentStudentLinkButton_Click"
                                                                                    Text='<%#Bind("AbsentStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="PendingStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="PendingStudentLinkButton_Click"
                                                                                    Text='<%#Bind("AttnNotTakenClass")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <%-- <asp:TemplateField HeaderText="LessThen70%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="LessThen70Button" runat="server" CssClass="boxEllips" OnClick="LessThen70Button_Click"
                                                                                    Text='<%#Bind("LessThen70")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="100%Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="HundredPrecButton" runat="server" CssClass="boxEllips" OnClick="HundredPrecButton_Click"
                                                                                    Text='<%#Bind("HundredPer")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Leave Req." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="LeaveRequestButton" runat="server" CssClass="boxEllips" OnClick="LeaveRequestButton_Click"
                                                                                    Text='<%#Bind("LeaveRequest")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Absent > 3" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="Absent3Button" runat="server" CssClass="boxEllips" OnClick="Absent3Button_Click"
                                                                                    Text='<%#Bind("AbsentCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>--%>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <asp:HiddenField ID="StudentAttendanceTypeHiddenField" runat="server" />
                                                            <div id="Div71" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                                <asp:GridView ID="StudentClassAttendaceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId,ClassId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentOrganizationLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("OrgTitle")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassCode")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ClassTotalLinkButton" runat="server" CssClass="boxEllips" OnClick="ClassTotalLinkButton_Click"
                                                                                    Text='<%#Bind("TotalStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Male" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ClassMaleLinkButton" runat="server" CssClass="boxEllips" OnClick="ClassMaleLinkButton_Click"
                                                                                    Text='<%#Bind("Male")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Female" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ClassFemaleLinkButton" runat="server" CssClass="boxEllips" OnClick="ClassFeMaleLinkButton_Click"
                                                                                    Text='<%#Bind("Female")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div72" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                                <asp:GridView ID="StudentClassDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentCodeLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentId")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentContactLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div73" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                                <asp:GridView ID="StudentAttendanceDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentId")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentCodeLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentId")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentContactLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div74" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                                <asp:GridView ID="StudentAttendaceClassTeacherGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassCode")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Student Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentCountLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Class Teacher" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassTeacherLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassTeacher")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentContactLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <asp:Panel ID="Panel11" runat="server">
                                                                <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="headerText">
                                                                            <header>
                                                                                <asp:Label ID="Label17" runat="server" Text="Student Attendance Detail"></asp:Label>
                                                                            </header>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </asp:Panel>
                                                            <div id="Div79" class="himssuHeader6WireBox col-md-12" runat="server">
                                                                <div id="Div94" runat="server">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label22" runat="server" Text="From Date"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="StudentAttendanceFromDatePickerControl" runat="server" OnTextChanged="StudentAttendanceFromDatePickerControl_TextChanged" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label23" runat="server" Text="To Date"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="StudentAttendanceToDatePickerControl" runat="server" OnTextChanged="StudentAttendanceToDatePickerControl_TextChanged" />
                                                                        </div>
                                                                    </div>
                                                                    <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                                    <div id="Div95" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="StudentAttendanceDateWiseGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="StudentAttendanceDateWiseGridView_RowDataBound">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="StudentAttendanceOrgGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="StudentAttendanceOrgGroupLinkButton_Click"
                                                                                            Text='<%#Bind("OrgGroupTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="LessThen70%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="StudentAttendanceLessThen70Button" runat="server" CssClass="boxEllips" OnClick="StudentAttendanceLessThen70Button_Click"
                                                                                            Text='<%#Bind("LessThen70")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="100%Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="StudentAttendanceHundredPrecButton" runat="server" CssClass="boxEllips" OnClick="StudentAttendanceHundredPrecButton_Click"
                                                                                            Text='<%#Bind("HundredPer")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Leave Req." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="StudentAttendanceLeaveRequestButton" runat="server" CssClass="boxEllips" OnClick="StudentAttendanceLeaveRequestButton_Click"
                                                                                            Text='<%#Bind("LeaveRequest")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Absent > 3" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="StudentAttendanceAbsent3Button" runat="server" CssClass="boxEllips" OnClick="StudentAttendanceAbsent3Button_Click"
                                                                                            Text='<%#Bind("AbsentCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                    <asp:HiddenField ID="HiddenField1" runat="server" />
                                                                    <div id="Div96" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="StudentAttendanceDateAndOrgWiseGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId,OrgId"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="Organization" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="OrganizationLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("OrgTitle")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                                <asp:TemplateField HeaderText="LessThen70%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="LessThenLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("LessThen70")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="100%Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="AttLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("HundredPer")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Leave Req." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="OrgLeaveRequestLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("LeaveRequest")%>'></asp:Label>

                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Absent > 3" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="AbsentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("AbsentCount")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                    <div id="Div97" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="StudentAttendancePercentageGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="StudentClassLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("DivisionCode")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="StudentCodeLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("StudentId")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="StudentContactLabel" runat="server" CssClass="boxEllips"
                                                                                            Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>

                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>

                                                            </div>
                                                        </div>
                                                        <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                        <div id="StudentSummaryDiv" class="himssuHeader6WireBox col-md-12 pTop15" runat="server">
                                                            <div id="StudentCountDiv" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                                <asp:GridView ID="OrgGroupwiseStudentCountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="OrgGroupwiseStudentCountGridView_RowDataBound">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StudentOrgGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="StudentOrgGroupLinkButton_Click"
                                                                                    Text='<%#Bind("OrgGroupTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgGroupTotalStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("TotalStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Active Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgGroupActiveStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("ActiveStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Left Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgGroupLeftStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("LeftStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="InActive Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgGroupInActiveStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("InActiveStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="OrgSubGroupwiseDiv" runat="server" class="table-responsive himssuHeader6WireBox col-md-12 pTop10">
                                                                <asp:GridView ID="OrgSubGroupwiseGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgSubGroupId,OrgGroupId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization SubGroup" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="OrgSubGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="OrgSubGroupLinkButton_Click"
                                                                                    Text='<%#Bind("OrgSubGroupTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgSubGroupTotalStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("TotalStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Active Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgSubGroupActiveStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("ActiveStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Left Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgSubGroupLeftStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("LeftStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="InActive Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgSubGroupInActiveStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("InActiveStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="OrgwiseStudentCountDiv" runat="server" class="table-responsive himssuHeader6WireBox col-md-12 pTop10">
                                                                <asp:GridView ID="OrgwiseStudentCountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StudentOrgwiseLinkButton" runat="server" CssClass="boxEllips" OnClick="StudentOrgwiseLinkButton_Click"
                                                                                    Text='<%#Bind("OrgTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgwiseTotalStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("TotalStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Active Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgwiseActiveStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("ActiveStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Left Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgwiseLeftStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("LeftStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="InActive Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgwiseInActiveStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("InActiveStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="DeptwiseStudentCountDiv" runat="server" class="table-responsive himssuHeader6WireBox col-md-12 pTop10">
                                                                <asp:GridView ID="DeptwiseStudentCountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="DepartmentId,OrgId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Department Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StudentDeptwiseLinkButton" runat="server" CssClass="boxEllips" OnClick="StudentDeptwiseLinkButton_Click"
                                                                                    Text='<%#Bind("DepartmentTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DeptwiseTotalStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("TotalStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Active Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DeptwiseActiveStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("ActiveStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Left Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DeptwiseLeftStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("LeftStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="InActive Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DeptwiseInActiveStudentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("InActiveStudent")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="ClasswiseStudentCountDiv" runat="server" class="table-responsive himssuHeader6WireBox col-md-12 pTop10">
                                                                <asp:GridView ID="ClasswiseStudentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="DepartmentId,ClassId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentClasswiseLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ClasswiseTotalStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="ClasswiseTotalStudentLinkButton_Click"
                                                                                    Text='<%#Bind("TotalStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Active Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ClasswiseActiveStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="ClasswiseActiveStudentLinkButton_Click"
                                                                                    Text='<%#Bind("ActiveStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Left Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ClasswiseLeftStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="ClasswiseLeftStudentLinkButton_Click"
                                                                                    Text='<%#Bind("LeftStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="InActive Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ClasswiseInActiveStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="ClasswiseInActiveStudentLinkButton_Click"
                                                                                    Text='<%#Bind("InActiveStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="StudentStatuswiseDiv" runat="server" class="table-responsive himssuHeader6WireBox col-md-12 pTop10">
                                                                <asp:GridView ID="StudentStatuswiseGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="DivisionId,StudentId,DepartmentId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Student Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentCodewiseLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("StudentCode")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Student Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentNamewiseLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Student Contact No" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ContactNoLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("StudentContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="TaskMISStudentSubjectAttendance" class="himssuHeader6WireBox col-md-12" runat="server" visible="false">
                                                        <%--<asp:Panel ID="Panel10" runat="server">
                                                                        <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                            <div class="leftdiv">
                                                                            </div>
                                                                            <div class="himsBoxTitle">
                                                                                <div class="headerText">
                                                                                    <header>
                                                                                        <asp:Label ID="Label16" runat="server" Text="Task Student Subject Attendance"></asp:Label>
                                                                                    </header>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </asp:Panel>--%>
                                                        <div id="Div83" runat="server">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label18" runat="server" Text="Date"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="TaskStudentSubAttendanceToDP" runat="server" OnTextChanged="TaskStudentSubAttendanceToDP_TextChanged" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div id="Div85" runat="server">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="fLeft pRight5">
                                                                    <asp:CheckBox ID="IsPercentCheckBox" runat="server" OnCheckedChanged="IsPercentCheckBox_CheckedChanged" Text="Is Percent" AutoPostBack="true" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <asp:HiddenField ID="OrgIdHiddenField" runat="server" />
                                                        <asp:HiddenField ID="AcademicIdHiddenField" runat="server" />
                                                        <asp:HiddenField ID="PresentIdHiddenField" runat="server" />
                                                        <asp:HiddenField ID="SubjectIdHiddenField" runat="server" />
                                                        <asp:HiddenField ID="DivisionIdHiddenField" runat="server" />
                                                        <asp:HiddenField ID="GenderIdHiddenField" runat="server" />
                                                        <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                        <div id="Div84" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="TaskStudentSubAttendanceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" DataKeyNames="OrgId" OnRowDataBound="TaskStudentSubAttendanceGridView_RowDataBound">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Org Name" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="OrganizationNameLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("OrganizationName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Present" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="StudentPresentLinkButton" runat="server" Text='<%#Bind("PresentCount")%>' OnClick="Level2_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Absent" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="StudentAbsentLinkButton" runat="server" Text='<%#Bind("AbsentCount")%>' OnClick="Level2_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Present Percentage (%)" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="PresentLinkButton" runat="server" Text='<%#Bind("PresentPercentage")%>' OnClick="Level2_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Absent Percentage (%)" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="AbsentLinkButton" runat="server" Text='<%#Bind("AbsentPercentage")%>' OnClick="Level2_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="TotalLinkButton1" runat="server" Text='<%#Bind("Total")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div id="Div86" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="TaskStudentSubAttendanceGridView2" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" DataKeyNames="DivisionId,SubjectId">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Class Name" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ClassNameLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Subject Name" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="SubjectNameLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("SubjectName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Male" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="MaleLinkButton" runat="server" Text='<%#Bind("MaleTotal")%>' OnClick="Level3_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Female" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="FemaleLinkButton" runat="server" Text='<%#Bind("FemaleTotal")%>' OnClick="Level3_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TotalLinkButton2" runat="server" Text='<%#Bind("Total")%>' OnClick="Level3_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div id="Div87" runat="server" class="table-responsive himssuHeader6WireBox col-md-12" visible="false">
                                                            <div id="Div92" runat="server">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label20" runat="server" Text="From Date"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="StudentSubjectAttendanceFromDatePicker3" runat="server" OnTextChanged="StudentSubjectAttendanceFromDatePicker3_TextChanged" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div id="Div93" runat="server">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label21" runat="server" Text="To Date"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="StudentSubjectAttendanceToDatePicker3" runat="server" OnTextChanged="StudentSubjectAttendanceToDatePicker3_TextChanged" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <asp:GridView ID="TaskStudentSubAttendanceGridView3" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" DataKeyNames="AcademicId">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="CodeLinkButton" runat="server" Text='<%#Bind("Code")%>' OnClick="Level4_Click"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Student Name" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Contact No" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ContactNoLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Present Percentage (%)" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="PresentPercentageLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("PresentPercentage")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div id="Div88" runat="server" class="table-responsive himssuHeader6WireBox col-md-12" visible="false">
                                                            <div id="Div90" runat="server">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label16" runat="server" Text="From Date"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="StudentSubjectAttendanceFromDatePicker4" runat="server" OnTextChanged="StudentSubjectAttendanceFromDatePicker4_TextChanged" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div id="Div91" runat="server">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label19" runat="server" Text="To Date"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="StudentSubjectAttendanceToDatePicker4" runat="server" OnTextChanged="StudentSubjectAttendanceToDatePicker4_TextChanged" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div id="Div89" runat="server">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="fLeft pRight5">
                                                                        <asp:CheckBox ID="TaskStudentSubAttendanceCheckBox4" runat="server" OnCheckedChanged="TaskStudentSubAttendanceCheckBox4_CheckedChanged" Text="Is Percent" AutoPostBack="true" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <asp:GridView ID="TaskStudentSubAttendanceGridView4" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" DataKeyNames="AcademicId">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Subject Name" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="SubjectNameLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("SubjectName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Present" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="PresentCountLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("PresentCount")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Absent" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="AbsentCountLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("AbsentCount")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Present Percentage (%)" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="PresentPercentageLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("PresentPercentage")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Absent Percentage (%)" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="AbsentPercentageLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("AbsentPercentage")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="TotalLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("Total")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                            <div class="contentHolder" id="ChargeDiv" runat="server">
                                                <asp:Panel ID="ChargePanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ChargeDivGroupBatchLabel" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="ChargeOrgGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True" OnSelectedIndexChanged="ChargeOrgGroupBatchDropDownList_SelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="ChargeSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="ChargeSyncButton_Click" />
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div class="navgraybackground">
                                                        <ul class="nav nav-tabs">
                                                            <li id="ChargeReceiptList" runat="server"><a href="#tab_1">
                                                                <asp:Button Text="Receipt" ID="ChargeReceiptButton" CssClass="fas transparenttab"
                                                                    SkinID="0" runat="server" AutoPostBack="True" />
                                                            </a></li>
                                                        </ul>
                                                    </div>
                                                    <div id="ChargeReceiptDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="False">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ChargeFromDateLabel" runat="server" Text="From Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ChargeFromDatePickerControl" runat="server"
                                                                    OnTextChanged="ChargeFromDatePickerControl_TextChanged" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ChargeToDateLabel" runat="server" Text="To Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ChargeToDatePickerControl" runat="server"
                                                                    OnTextChanged="ChargeToDatePickerControl_TextChanged" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3" id="ChargeCustomGroupDropDownDiv" runat="server" hidden>
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ChargeCustomGroupLabel" runat="server" Text="Custom Group"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="ChargeCustomGroupDropDownList" runat="server" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                    AutoPostBack="True" OnSelectedIndexChanged="ChargeCustomGroupDropDownList_SelectedIndexChanged">
                                                                    <asp:ListItem Value="1">Organization Wise</asp:ListItem>
                                                                    <asp:ListItem Value="2">User Wise</asp:ListItem>
                                                                    <asp:ListItem Value="3">Receipt Book Wise</asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                                                                <ContentTemplate>
                                                                    <div id="Div107" runat="server">
                                                                        <div id="Div108" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ChargeReceiptDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False" ShowFooter="true"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ChargeReceiptBookId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="ChargeReceiptDetailGridView_RowDataBound">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCount" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptBookName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="ReceiptTotalLabel" ClientIDMode="Static" runat="server" Text="Total" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptDetailCount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptCount")%>' OnClick="ReceiptDetailCount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="ReceiptDetailCountTotal" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptDetailAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptAmount")%>' OnClick="ReceiptDetailAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalReceiptDetailAmountLabel" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cancel Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptCancelAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("CancelAmount")%>' OnClick="ReceiptBookCancelAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="ReceiptTotalCancelAmountLabel" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                            <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                                            <asp:GridView ID="ChargeUserDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" ShowFooter="true" DataKeyNames="UserId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="ChargeUserDetailGridView_RowDataBound">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="User" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UserName" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UserName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalLabel" ClientIDMode="Static" runat="server" Text="Total" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="UserReceiptCount" runat="server" CssClass="boxEllips" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptCount")%>' OnClick="UserReceiptCount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalUserCountLabel" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="UserReceiptAmount" runat="server" CssClass="boxEllips" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptAmount")%>' OnClick="UserReceiptAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalUserAmountLabel" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cancel Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="UserCancelAmount" runat="server" CssClass="boxEllips" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("CancelAmount")%>' OnClick="UserCancelAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalUserCancelAmountLabel" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                            <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                                            <asp:GridView ID="ChargeReceiptOrgDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                ShowFooter="true" CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                                DataKeyNames="OrgGroupId" SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="ChargeReceiptOrgDetailGridView_RowDataBound">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="OrganizationNameLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Organization")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalLabel" ClientIDMode="Static" runat="server" Text="Total" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptCount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptCount")%>' OnClick="ChargeReceiptCount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="ReceiptCountTotal" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptAmount")%>' OnClick="ChargeReceiptAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalReceiptAmountLabel" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cancel Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CancelAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("CancelAmount")%>' OnClick="ChargeCancelAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalCancelAmountLabel" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div105" runat="server">
                                                                        <div id="Div106" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ChargeReceiptOrgCountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ChargeReceiptBookId,OrgGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Organization")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ChargeReceiptCountDetail" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptCount")%>' OnClick="ChargeReceiptCountDetail_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                            <asp:GridView ID="ChargeReceiptOrgAmountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ChargeReceiptBookId,OrgGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Organization")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ChargeReceiptAmountDetail" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptAmount")%>' OnClick="ChargeReceiptAmountDetail_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                            <asp:GridView ID="ChargeOrgCancelAmountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ChargeReceiptBookId,OrgGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Organization")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cancel Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ChargeReceiptCancelAmountDetail" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("CancelAmount")%>' OnClick="ChargeReceiptCancelAmountDetail_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>

                                                                            <asp:GridView ID="ReceiptBookDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ChargeReceiptBookId,OrgGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptBookName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ChargeReceiptBookCount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptCount")%>' OnClick="ChargeReceiptBookCount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                            <asp:GridView ID="ReceiptBookAmountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ChargeReceiptBookId,OrgGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptBookName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ChargeReceiptBookAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptAmount")%>' OnClick="ChargeReceiptBookAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                            <asp:GridView ID="ReceiptBookCancelAmountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ChargeReceiptBookId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptBookName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ChargeReceiptBookAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("CancelAmount")%>' OnClick="ChargeReceiptBookAmount_Click1"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>

                                                                            <asp:GridView ID="ReceiptUserCountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="UserId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="User" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UserName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ChargeReceiptUserCount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptCount")%>' OnClick="ChargeReceiptUserCount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                            <asp:GridView ID="ReceiptUserAmountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="UserId,OrgGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="User" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UserName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ChargeReceiptUserAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptAmount")%>' OnClick="ChargeReceiptUserAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                            <asp:GridView ID="ReceiptUserCancelAmountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="UserId,OrgGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="User" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UserName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ChargeReceiptUserCancelAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("CancelAmount")%>' OnClick="ChargeReceiptUserCancelAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>

                                                                            <div id="Div109" runat="server">
                                                                                <div id="Div110" runat="server" class="table-responsive">
                                                                                    <asp:GridView ID="ChargeDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                        <Columns>
                                                                                            <asp:TemplateField HeaderText="Charge Receipt Number" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="ReceiptNumber" runat="server" CssClass="boxEllips"
                                                                                                        Text='<%#Bind("ReceiptNumber")%>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="Code" runat="server" CssClass="boxEllips"
                                                                                                        Text='<%#Bind("Code")%>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                                        Text='<%#Bind("Name")%>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                                        Text='<%#Bind("ReceiptAmount")%>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                        </Columns>
                                                                                    </asp:GridView>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>

                                            <div class="contentHolder" id="TaskDiv" runat="server">
                                                <asp:Panel ID="Panel8" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label13" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="TaskOrgGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="TaskOrgGroupBatchDropDownList_SelectedIndexChanged"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="TaskSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="TaskSyncButton_Click" />
                                                    </div>
                                                    <div id="Div75" class="himssuHeader6WireBox col-md-12" runat="server">
                                                        <asp:Panel ID="Panel7" runat="server">
                                                            <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText">
                                                                        <header>
                                                                            <asp:Label ID="Label11" runat="server" Text="Task Attendance"></asp:Label>
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <div id="Div76" runat="server">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label12" runat="server" Text="Upto Date"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="TaskUptoDatePickerControl" runat="server" OnTextChanged="TaskUptoDatePickerControl_TextChanged" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                        <div id="Div77" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="TaskAttendanceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="TaskAttendanceGridView_RowDataBound">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="OrgGroupLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("OrgGroup")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskAttendanceTotalLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskAttendanceTotalLinkButton_Click"
                                                                                Text='<%#Bind("TotalAttendance")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskAttendancePendingLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskAttendancePendingLinkButton_Click"
                                                                                Text='<%#Bind("PendingAttendance")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Done" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskAttendanceDoneLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskAttendanceDoneLinkButton_Click"
                                                                                Text='<%#Bind("ComplatedAttendance")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div id="Div78" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="TaskAttendanceDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("ClassDivision")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="IdLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeCode")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Employee Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="EmployeeNameLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ContactLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeContact")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                    <div id="TaskCWHWDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="false">
                                                        <asp:Panel ID="Panel9" runat="server">
                                                            <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText">
                                                                        <header>
                                                                            <asp:Label ID="Label14" runat="server" Text="Task CW/HW"></asp:Label>
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <div id="Div80" runat="server">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label15" runat="server" Text="Upto Date"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="TaskClassworkUptoDateDatePickerControl" runat="server" OnTextChanged="TaskClassworkUptoDateDatePickerControl_TextChanged" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <%--changes for mantis Id:0041114 : Krunal K Patel : Added OnRowDataBound--%>
                                                        <div id="Div81" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="TaskCWGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="TaskCWGridView_RowDataBound">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="OrgGroupLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("OrgGroup")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskCWPendingLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskCWPendingLinkButton_Click"
                                                                                Text='<%#Bind("ClassWorkNotAssigned")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="CW Assign" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskCWAssignLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskCWAssignLinkButton_Click"
                                                                                Text='<%#Bind("ClassWorkAssigned")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="CW N/A" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskCWNALinkButton" runat="server" CssClass="boxEllips" OnClick="TaskCWNALinkButton_Click"
                                                                                Text='<%#Bind("ClassWorkNotApplicable")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="HW Assign" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskHWAssignLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskHWAssignLinkButton_Click"
                                                                                Text='<%#Bind("HomeWorkAssigned")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="HW N/A" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskHWNALinkButton" runat="server" CssClass="boxEllips" OnClick="TaskHWNALinkButton_Click"
                                                                                Text='<%#Bind("HomeWorkNotApplicable")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div id="Div82" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="TaskCWDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("ClassDivision")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="IdLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeCode")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Subject" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="SubjectLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("SubjectName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Employee" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="EmployeeLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ContactLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeContact")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/exception-log")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <script type="text/javascript" language="javascript">
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
        function EndRequestHandler(sender, args) {
            if (args.get_error() != undefined) {
                args.set_errorHandled(true);
            }
        }

        function OpenExceptionLogDetails(obj) {
            var id = $(obj).parent().parent().parent().attr('id').split('_')[1];
            if ($('.Detail_' + id).css('display') == 'none') {
                $('.Detail_' + id).css('display', 'table-row');
            }
            else {
                $('.Detail_' + id).css('display', 'none');
            }
        }

        function tabPanelClicked() {
            var id = obj.parentNode.parentNode;
            document.getElementById('<%=SearchDetailPanel.ClientID%>').disabled = true;
        }

    </script>

</asp:Content>

