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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>


<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <%--<div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>
                                            </div>
                                        </div>
                                    </div>--%>
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="212"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <%--  <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box">
                     
                    </div>
                </div>--%>

                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box">
                        <%--Changes done for mantis : 31586--%>
                        <%--<div class="himsBoxContent card-body padd-0" style="max-height: none">--%>
                        <asp:Panel ID="DetailPanel" runat="Server">
                            <div class="contentHolder">
                                <div class="tableContainer">
                                    <cc1:TabContainer Width="100%" ID="ExamMasterTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                        AutoPostBack="true" meta:resourcekey="ExamCustomSearchTabContainerResource1"
                                        ActiveTabIndex="0">
                                        <cc1:TabPanel Width="100%" ID="ExamMasterTabPanel" runat="server" HeaderText="Exam Master">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a href="#"><i class="fas fa-chess-king"></i>&nbsp;Daily Status 
                                                        </a>
                                                    </li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="himsBoxHeader card-head">
                                                        <asp:Panel ID="VehicleAlertPanel" runat="server" meta:resourcekey="VehicleAlertPanelResource1">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="headerText">
                                                                    <header>
                                                                        <i class="fas fa-list-ul"></i>
                                                                        <asp:Label ID="AttendanceStatusLabel" runat="server" Text="Attendance Status"></asp:Label>
                                                                    </header>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                    </div>
                                                    <div class="contentHolder">
                                                        <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                            <div class="himsBoxContent card-body" style="background: white">
                                                                <div class="contentHolder">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="DateLabel" runat="server" Text="Date"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DatePickerControl" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label1" runat="server" Text="Attendance Type" SkinID="MandatoryLabel"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList runat="server" ID="DailyStatusAttendanceTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                                                CssClass="form-control" onmouseenter="ShowToolTip(this)"
                                                                                AutoPostBack="true">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop15 p-l-10 col-md-3">
                                                                        <asp:CheckBox ID="SendAlertCheckbox" runat="server" Text="Send Alert" AutoPostBack="true" class="pLeft5" OnCheckedChanged="SendAlertCheckbox_CheckedChanged" />
                                                                        <%-- <asp:Label ID="IsEmptyLabel" runat="server" Text="Empty Data"></asp:Label>--%>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3" id="AttendanceStatusDropDownListDiv" runat="server" visible="false">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="AttendanceStatusDropDownListLabel" runat="server" Text="Attendance Status" SkinID="MandatoryLabel"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList runat="server" ID="AttendanceStatusDropDownList" CssClass="form-control" AutoPostBack="false">
                                                                                <asp:ListItem Text="- ALL -" Value="0" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="Pending" Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text="Complete" Value="2"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>

                                                                    <div class="cBoth">
                                                                    </div>
                                                                    <div class="outerBox11 pTop5 col-md-12 fLeft" id="SendAlertDiv" runat="server">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="MessageLabel" runat="server" Text="Message"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="MessageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                Height="50px" SkinID="MultilineTextBox" runat="server" MaxLength="1000" OnTextChanged="MessageTextBox_TextChanged"
                                                                                TextMode="MultiLine" AutoPostBack="true"></asp:TextBox>
                                                                            <div id="CharCountDiv" runat="server" class="col-md-12 padd-0">
                                                                                <asp:Label ID="ForCharLabel" runat="server" Text="Number Of Character :"></asp:Label>
                                                                                <asp:Label ID="NumberOfCharLabel" runat="server" Text="0" Font-Bold="true"></asp:Label>
                                                                                <asp:Label ID="ForMessageLabel" runat="server" Text="Number Of Message :" CssClass="ml-1"></asp:Label>
                                                                                <asp:Label ID="NumberOfMessageLabel" runat="server" Font-Bold="true" Text="0"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <%--add for mantis: 30719--%>
                                                                    <div class="outerBox col-md-4 pTop5" id="AlertOptionDiv" runat="server">
                                                                        <div class="fLeft pRight5">
                                                                            <asp:CheckBoxList ID="SourceTypeCheckBoxList" runat="server" RepeatDirection="Horizontal"
                                                                                AutoPostBack="true">
                                                                                <asp:ListItem Text="WhatsApp" Value="1" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="Email" Value="2"></asp:ListItem>
                                                                                <asp:ListItem Text="SMS" Value="3"></asp:ListItem>
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>

                                                                    <div class="alignCenter outerBox pTop5 col-md-12">
                                                                        <div class="fLeft pRight5">
                                                                            <asp:Button ID="SearchButton" runat="server" class="btn-search btn fas" SkinID="0" Text="&#xf002; Search" OnClick="SearchButton_Click" />
                                                                            <asp:Button ID="ExportButton" Text="&#xf093; Export" CssClass="btn-examcommon btn fas" SkinID="0" runat="Server" OnClick="ExportButton_Click" />
                                                                            <asp:Button ID="SendAlertButton" Text="&#xf1d8; Send Alert" Visible="false" runat="Server" OnClick="SendAlertButton_Click" SkinID="0" CssClass="btn-send btn fas" />
                                                                            <asp:Button ID="DailyStatusListButton" Text="&#xf15b; Print " runat="Server" OnClick="DailyStatusListButton_Click"
                                                                                SkinID="0" class="btn-report btn fas" />
                                                                        </div>
                                                                    </div>
                                                                    <div id="AttendanceStatusDiv" runat="server">
                                                                        <div class="himssuHeader1WireBox col-md-12">
                                                                            <div class="himsBoxTitle">
                                                                                <div class="himsBoxHeader card-head inner" runat="server" style="display: none">
                                                                                </div>
                                                                            </div>

                                                                            <div class="himsBoxContent table-responsive">
                                                                                <asp:GridView runat="server" ID="AttendanceStatusGridView" AutoGenerateColumns="False"
                                                                                    EmptyDataText="No Records Found !!" AllowPaging="false" CssClass="table table-striped table-bordered table-hover"
                                                                                    ShowHeader="True" meta:resourcekey="AttendanceStatusGridViewResource1"
                                                                                    OnRowDataBound="AttendanceStatusGridView_RowDataBound" ShowFooter="true">
                                                                                    <Columns>
                                                                                        <asp:BoundField DataField="ClassDivisionName" HeaderText="Class" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                                        <%--<asp:BoundField DataField="ClassTeacherName" HeaderText="Teacher" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left" />--%>

                                                                                        <asp:TemplateField HeaderText="Teacher" ItemStyle-Width="15%" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="ClassTeacherNameLabel" CssClass="teacher-name-feild" Text='<%#Eval("ClassTeacherName") %>' runat="server"></asp:Label>
                                                                                            </ItemTemplate>
                                                                                            <FooterTemplate>
                                                                                                <asp:Label ID="NoteLabel" ClientIDMode="Static" runat="server" Text="<b>Note : </b>Total of only complete status"></asp:Label>
                                                                                            </FooterTemplate>
                                                                                        </asp:TemplateField>

                                                                                        <asp:TemplateField HeaderText="Status" ItemStyle-Width="10%" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="PresentStatusLabel" Text='<%#Eval("PresentStatus") %>' runat="server"></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="Total" ItemStyle-Width="10%" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="TotalCountLabel" Text='<%#Eval("TotalCount") %>' runat="server"></asp:Label>
                                                                                            </ItemTemplate>
                                                                                            <FooterTemplate>
                                                                                                <asp:Label ID="FTotalCountLabel" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                            </FooterTemplate>
                                                                                        </asp:TemplateField>

                                                                                        <asp:TemplateField HeaderText="Present" ItemStyle-Width="10%" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="PresentCountLabel" Text='<%#Eval("PresentCount") %>' runat="server"></asp:Label>
                                                                                            </ItemTemplate>
                                                                                            <FooterTemplate>
                                                                                                <asp:Label ID="FPresentCountLabel" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                            </FooterTemplate>
                                                                                        </asp:TemplateField>

                                                                                        <asp:TemplateField HeaderText="Absent" ItemStyle-Width="10%" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="AbsentCountLabel" Text='<%#Eval("AbsentCount") %>' runat="server"></asp:Label>
                                                                                            </ItemTemplate>
                                                                                            <FooterTemplate>
                                                                                                <asp:Label ID="FAbsentCountLabel" ClientIDMode="Static" runat="server" Font-Bold="true"></asp:Label>
                                                                                            </FooterTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Updated DateTime" ItemStyle-Width="15%" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="UpdatedDateTimeLabel" Text='<%#Eval("UpdatedDateTime","{0:dd/MM/yyyy HH:mm}") %>' runat="server"></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="UserName" ItemStyle-Width="15%" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="UserNameLabel" Text='<%#Eval("UserName") %>' runat="server"></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <%--<asp:BoundField DataField="TotalCount" HeaderText="Total" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                        <%--<asp:BoundField DataField="PresentCount" HeaderText="Present" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                        <%--<asp:BoundField DataField="AbsentCount" HeaderText="Absent" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                    </Columns>
                                                                                    <PagerSettings Visible="False" />
                                                                                </asp:GridView>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                    </div>


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


                                        <cc1:TabPanel Width="100%" ID="TabPanel1" runat="server" HeaderText="Exam Master">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a href="#"><i class="fas fa-chess-king"></i>&nbsp;Monthly Status 
                                                        </a>
                                                    </li>
                                                </ul>

                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="himsBoxContent card-body" style="background: White">
                                                        <div class="contentHolder">
                                                            <%--<div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ClassLabel" runat="server" Text="Class" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="ClassDropDownList"  Visible="false"
                                                                CssClass="form-control" onmouseover="ShowToolTip(this)"
                                                                AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="DivisionLabel" runat="server" Text="Division" Visible="false" ></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList" Visible="false"
                                                                CssClass="form-control" onmouseenter="ShowToolTip(this)" AutoPostBack="true">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>--%>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="AttendanceTypeLabel" runat="server" Text="Attendance Type" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="AttendanceTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseenter="ShowToolTip(this)"
                                                                        AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ForYearLabel" runat="server" Text="For Year" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="ForYearDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseenter="ShowToolTip(this)"
                                                                        AutoPostBack="true" OnSelectedIndexChanged="ForYearDropDownList_OnSelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ForMonthLabel" runat="server" Text="For Month" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="ForMonthDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseenter="ShowToolTip(this)">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="alignCenter outerBox pTop5 col-md-12" style="max-height: 30px;">
                                                                <div class="fLeft pRight5">
                                                                    <asp:Button ID="SearchMonthlyButton" runat="server" class="btn-search btn fas" SkinID="0" Text="&#xf002; Search" OnClick="SearchMonthlyButton_Click" />
                                                                    <asp:Button ID="ExportMonthlyButton" Text="&#xf093; Export" CssClass="btn-examcommon btn fas" SkinID="0" runat="Server" OnClick="ExportMonthlyButton_Click" />
                                                                    <asp:Button ID="DailyStatusMonthlyDetailListButton" Text="&#xf15b; Print " runat="Server" OnClick="DailyStatusMonthlyDetailListButton_Click"
                                                                        SkinID="0" class="btn-report btn fas" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himssuHeader6WireBox col-md-12" id="AttendanceDiv" runat="server" visible="false">
                                                            <%--  <div class="himsBoxHeader">
                                                                <div class="leftdiv">
                                                                </div>
                                                            </div>--%>
                                                            <div class="outerBox  pTop15 display-flex">
                                                                <asp:Label ID="PendingTitleLabel" Text="Pending :" runat="server" Visible="false"></asp:Label>
                                                                &nbsp; &nbsp;
                                                                <asp:Label runat="server" ID="PendingColorLabel" Height="15px" Width="35px" BorderColor="Black" BackColor="#ff9292" Visible="false" BorderWidth="1px"></asp:Label>
                                                                &nbsp; &nbsp;
                                                                <asp:Label ID="CompletedLabel" Text="Completed :" runat="server" Visible="false"></asp:Label>
                                                                &nbsp; &nbsp;
                                                                <asp:Label runat="server" ID="CompletedColorLabel" Height="15px" Width="35px" BorderColor="Black" Visible="false" BackColor="#d9f9db" BorderWidth="1px"></asp:Label>
                                                                &nbsp; &nbsp;
                                                                <asp:Label ID="WeekOffColorLabel" Text="WeekOff :" runat="server" Visible="false"></asp:Label>
                                                                &nbsp; &nbsp;
                                                                <asp:Label runat="server" ID="WeekOffLabel" Height="15px" Width="35px" BorderColor="Black" Visible="false" BackColor="#a2a2a2" BorderWidth="1px"></asp:Label>
                                                                &nbsp; &nbsp;
                                                                <asp:Label ID="HolidayColorLabel" Text="Holiday :" runat="server" Visible="false"></asp:Label>
                                                                &nbsp; &nbsp;
                                                                <asp:Label runat="server" ID="HolidayLabel" Height="15px" Width="35px" BorderColor="Black" Visible="false" BackColor="#80bfff" BorderWidth="1px"></asp:Label>
                                                                &nbsp; &nbsp;
                                                            </div>

                                                            <div class="himsBoxContent">
                                                                <%-- <asp:Panel ID="panelContainer" runat="server" Height="300px" Width="100%" ScrollBars="Vertical">--%>
                                                                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" AllowPaging="false" Width="100%"
                                                                    ShowHeader="true" OnRowDataBound="GridView1_OnRowDataBound" Style="margin: 0px;"
                                                                    CssClass="table table-striped table-bordered table-hover">

                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Wrap="true" HeaderStyle-Width="75px" ItemStyle-Width="7%"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassDivisionNameLabel" Text='<%#Eval("ClassDivisionName") %>' runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <%-- <asp:BoundField DataField="ClassDivisionName" HeaderText="Class" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                        <%--<asp:BoundField DataField="ClassTeacherName" HeaderText="Teacher" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left" />--%>

                                                                        <asp:TemplateField HeaderText="Teacher" ItemStyle-Wrap="true" HeaderStyle-Width="200px" ItemStyle-Width="12%"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassTeacherNameLabel" Text='<%#Eval("ClassTeacherName") %>' runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="1" ItemStyle-HorizontalAlign="center" ItemStyle-Width="1.5%"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel1" Text='<%#Eval("P1") %>' runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="2" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel2" runat="server" Text='<%#Eval("P2") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="3" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel3" runat="server" Text='<%#Eval("P3") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="4" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel4" runat="server" Text='<%#Eval("P4") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="5" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel5" runat="server" Text='<%#Eval("P5") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="6" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel6" runat="server" Text='<%#Eval("P6") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="7" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel7" runat="server" Text='<%#Eval("P7") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="8" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel8" runat="server" Text='<%#Eval("P8") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="9" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel9" runat="server" Text='<%#Eval("P9") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="10" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel10" runat="server" Text='<%#Eval("P10") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="11" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel11" runat="server" Text='<%#Eval("P11") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="12" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel12" runat="server" Text='<%#Eval("P12") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="13" ItemStyle-Width="1.5%" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel13" runat="server" Text='<%#Eval("P13") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="14" ItemStyle-Width="1.5%" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel14" runat="server" Text='<%#Eval("P14") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="15" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel15" runat="server" Text='<%#Eval("P15") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="16" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel16" runat="server" Text='<%#Eval("P16") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="17" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel17" runat="server" Text='<%#Eval("P17") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="18" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel18" runat="server" Text='<%#Eval("P18") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="19" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel19" runat="server" Text='<%#Eval("P19") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="20" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel20" runat="server" Text='<%#Eval("P20") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="21" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel21" runat="server" Text='<%#Eval("P21") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="22" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel22" runat="server" Text='<%#Eval("P22") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="23" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel23" runat="server" Text='<%#Eval("P23") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="24" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel24" runat="server" Text='<%#Eval("P24") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="25" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel25" runat="server" Text='<%#Eval("P25") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="26" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel26" runat="server" Text='<%#Eval("P26") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="27" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel27" runat="server" Text='<%#Eval("P27") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="28" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel28" runat="server" Text='<%#Eval("P28") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="29" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel29" runat="server" Text='<%#Eval("P29") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="30" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel30" runat="server" Text='<%#Eval("P30") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="1.5%" HeaderText="31" ItemStyle-HorizontalAlign="center"
                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MonthlyStatusLabel31" runat="server" Text='<%#Eval("P31") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Pending Total" ItemStyle-Wrap="true" HeaderStyle-Width="75px" ItemStyle-Width="7%"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="PendingTotalLabel" Text='<%#Eval("Pending Total") %>' runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Complete Total" ItemStyle-Wrap="true" HeaderStyle-Width="75px" ItemStyle-Width="7%"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="CompleteTotalLabel" Text='<%#Eval("Complete Total") %>' runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Holiday Total" ItemStyle-Wrap="true" HeaderStyle-Width="75px" ItemStyle-Width="7%"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="HolidayTotalLabel" Text='<%#Eval("Holiday Total") %>' runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Week off Total" ItemStyle-Wrap="true" HeaderStyle-Width="75px" ItemStyle-Width="7%"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="WeekoffTotalLabel" Text='<%#Eval("Week off Total") %>' runat="server"></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                                <asp:HiddenField ID="hfGridView1SV" runat="server" />
                                                                <asp:HiddenField ID="hfGridView1SH" runat="server" />
                                                                <%-- </asp:Panel>--%>
                                                            </div>
                                                        </div>

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

                                        <cc1:TabPanel Width="100%" ID="TabPanel2" runat="server" HeaderText="Exam Master">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab">
                                                        <a href="#"><i class="fas fa-chess-king"></i>&nbsp;Yearly Status 
                                                        </a>
                                                    </li>
                                                </ul>

                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="himsBoxContent card-body" style="background: White">
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassLabel" runat="server" Text="Class" Visible="true"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="ClassDropDownList" Visible="true"
                                                                        CssClass="form-control" onmouseover="ShowToolTip(this)"
                                                                        AutoPostBack="true" OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="DivisionLabel" runat="server" Text="Division" Visible="true"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="DivisionDropDownList" SkinID="CustomWidthDropDownList" Visible="true"
                                                                        CssClass="form-control" onmouseenter="ShowToolTip(this)" AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>

                                                            <div class="alignCenter outerBox pTop5 col-md-12" style="max-height: 30px;">
                                                                <div class="fLeft pRight5">
                                                                    <asp:Button ID="YearlyStatusSearch" runat="server" class="btn-search btn fas" SkinID="0" Text="&#xf002; Search" OnClick="YearlyStatusSearch_Click" />
                                                                    <asp:Button ID="YearlyStatusExport" Text="&#xf093; Export" CssClass="btn-examcommon btn fas" SkinID="0" runat="Server" OnClick="YearlyStatusExport_Click" Enabled="false" />
                                                                    <asp:Button ID="DailyStatusYearlyDetail" Text="&#xf15b; Print " runat="Server" OnClick="DailyStatusYearlyDetailListButton_Click"
                                                                        SkinID="0" class="btn-report btn fas" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himssuHeader6WireBox col-md-12" id="YearlyStatusDiv" runat="server" visible="false">
                                                            <%--  <div class="himsBoxHeader">
                                                                <div class="leftdiv">
                                                                </div>
                                                            </div>--%>
                                                            <div class="outerBox  pTop15 display-flex">
                                                                <asp:Label ID="PendingLabel" Text="Pending :" runat="server" Visible="false"></asp:Label>
                                                                &nbsp; &nbsp;
                                                                   <asp:Label runat="server" ID="PColorLabel" Height="15px" Width="35px" BorderColor="Black" BackColor="#ff9292" Visible="false" BorderWidth="1px"></asp:Label>
                                                                &nbsp; &nbsp;
                                                                    <asp:Label ID="CompleteLabel" Text="Completed :" runat="server" Visible="false"></asp:Label>
                                                                &nbsp; &nbsp;
                                                                <asp:Label runat="server" ID="CColorLabel" Height="15px" Width="35px" BorderColor="Black" Visible="false" BackColor="#d9f9db" BorderWidth="1px"></asp:Label>
                                                                &nbsp; &nbsp;
                                                            </div>

                                                            <div class="himsBoxContent">
                                                                <%-- <asp:Panel ID="panelContainer" runat="server" Height="300px" Width="100%" ScrollBars="Vertical">--%>
                                                                <asp:GridView ID="YearlyStatusGridview" runat="server" AutoGenerateColumns="false"
                                                                    EmptyDataText="No Records Found !!" AllowPaging="false" Width="100%"
                                                                    ShowHeader="true" OnRowDataBound="YearlyStatusGridview_RowDataBound" Style="margin: 0px;"
                                                                    CssClass="table table-striped table-bordered table-hover">

                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>

                                                                <%-- </asp:Panel>--%>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                    </cc1:TabContainer>
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%-- <script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script type="text/javascript">

        function FreezGrid() {
            $('#<% =GridView1.ClientID%>').gridviewScroll({
                width: "99%",

                overflow: "Scroll",
                railsize: 0,
                freezesize: 0, // Freeze Number of Columns.
                startVertical: $("#<%=hfGridView1SV.ClientID%>").val(),
                startHorizontal: $("#<%=hfGridView1SH.ClientID%>").val(),
                onScrollVertical: function (delta) {
                    $("#<%=hfGridView1SV.ClientID%>").val(delta);
                },
                onScrollHorizontal: function (delta) {
                    $("#<%=hfGridView1SH.ClientID%>").val(delta);
                }
            });

            }
    </script>

    <%--// $(document).ready(--%>
    <%--function FreezGrid() {

            debugger;
            var GridId = "<%=GridView1.ClientID %>";
             //var ScrollHeight = 300;
             var grid = document.getElementById(GridId);
             var gridWidth = grid.offsetWidth;
             var gridHeight = grid.offsetHeight;

             var headerCellWidths = new Array();
             for (var i = 0; i < grid.getElementsByTagName("TH").length; i++) {
                 headerCellWidths[i] = grid.getElementsByTagName("TH")[i].offsetWidth;
             }
             // grid.parentNode.appendChild(document.createElement("div"));
             var parentDiv = grid.parentNode;

             var table = document.createElement("table");
             for (i = 0; i < grid.attributes.length; i++) {
                 if (grid.attributes[i].specified && grid.attributes[i].name != "id") {
                     table.setAttribute(grid.attributes[i].name, grid.attributes[i].value);
                 }
             }
             table.style.cssText = grid.style.cssText;
             table.style.width = gridWidth + "px";
             table.appendChild(document.createElement("tbody"));
             table.getElementsByTagName("tbody")[0].appendChild(grid.getElementsByTagName("TR")[0]);
             var cells = table.getElementsByTagName("TH");

             var gridRow = grid.getElementsByTagName("TR")[0];
             for (var i = 0; i < cells.length; i++) {
                 var width;
                 if (headerCellWidths[i] > gridRow.getElementsByTagName("TD")[i].offsetWidth) {
                     width = headerCellWidths[i];
                 }
                 else {
                     width = gridRow.getElementsByTagName("TD")[i].offsetWidth;
                 }
                 cells[i].style.width = parseInt(width - 3) + "px";

                 if (i == 0) {
                     gridRow.getElementsByTagName("TD")[0].style.background = "#f1f1f1";
                     //gridRow.getElementsByTagName("TD")[0].style.borderColor = "#b1b1b1";
                     
                 }
                 if (i == 1)
                 {
                     gridRow.getElementsByTagName("TD")[1].style.background = "#f1f1f1";
                    // gridRow.getElementsByTagName("TD")[1].style.borderColor = "#b1b1b1";                     
                 }
                // gridRow.getElementsByTagName("TR")[0].style.color = "#272727 !important";
                 
                 gridRow.getElementsByTagName("TD")[i].style.borderColor = "#b1b1b1";
                 gridRow.getElementsByTagName("TD")[i].style.width = parseInt(width - 3) + "px";
             }
             parentDiv.removeChild(grid);

             //var dummyHeader = document.createElement("div");
             //dummyHeader.appendChild(table);
             parentDiv.appendChild(table);
             var scrollableDiv = document.createElement("div");
             if (parseInt(gridHeight) > ScrollHeight) {
                 gridWidth = parseInt(gridWidth) + 10;
             }
             scrollableDiv.style.cssText = "overflow:auto;height:" + ScrollHeight + "px;width:" + gridWidth + "px";
             scrollableDiv.appendChild(grid);
             parentDiv.appendChild(scrollableDiv);
         }--%>
    <%-- //);
    </script>--%>
    <%--  <script>
        function cpageLoad() {
            debugger;
            $('#<% =GridView1.ClientID%>').gridviewScroll({
                width: "99%",

                overflow: "Scroll",
                railsize: 0,
                freezesize: 3, // Freeze Number of Columns.
                startVertical: $("#<%=hfGridView1SV.ClientID%>").val(),
                startHorizontal: $("#<%=hfGridView1SH.ClientID%>").val(),
                onScrollVertical: function (delta) {
                    $("#<%=hfGridView1SV.ClientID%>").val(delta);
                },
                onScrollHorizontal: function (delta) {
                    $("#<%=hfGridView1SH.ClientID%>").val(delta);
                }
            });


        }
    </script>--%>
    <%-- <style>
        .HeaderFreez {
            position: relative;
            top: expression(this.offsetParent.scrollTop);
            z-index: 10;
        }


        .fixedHeader {
            font-weight: bold;
            position: absolute;
            background-color: #006699;
            color: #ffffff;
            height: 25px;
            top: expression(Sys.UI.DomElement.getBounds(document.getElementById<br/>(“panelContainer”)).y-25);
        }
    </style>--%>
    <%-- <style type="text/css">
        .FixedHeader {
            position: absolute;
            font-weight: bold;
        }     
    </style> --%>
    <%-- <style>
        table#ctl00_CP_GridView1CopyFreeze {
                        height: auto !important;
                    }

                    .table {
                        margin-bottom: 0px !important;
                        margin-top: 0px !important;
                    }

                    .whiteboxpaddingleft .card-box .card-body {
                        min-height: 520px;
                    }
    </style>--%>
    <style>
        td span {
            color: black;
        }
    </style>
</asp:Content>
