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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="DPC" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteTextBoxForGridView.ascx"
    TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <style type="text/css">
        input:disabled + input[type=image], input:read-only + a {
            pointer-events: visible;
            cursor: pointer !important;
        }
    </style>
    <%--    <link href="../../../App_Themes/responsiv-popup.css" rel="stylesheet" />
    <div id="dvTestLoadingmsg" class="hls-wrap">
        <div class="hls-container">
            <div class="hls-content">
                <div class="dsh-syndicate white-popup" style="display: inline-block; width: 119%; height: 150px">
                    <div class="shippingcard" style="text-align: center; vertical-align: middle; width: 100%;">
                        <span id="spn1msg">Loading Details</span><br>
                        <span style="line-height: 2;" id="spn2msg"><b>Please Wait ...</b></span><br>
                        <span id="spnloadingimgOPD">
                            <img src="../../../Images/Loading1.gif" /></span>
                    </div>
                </div>
            </div>
        </div>
    </div>--%>
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl1" ScreenGroupId="105"
                            Visible="true" runat="server" />
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box">
                        <div class="contentHolder">
                            <div class="himssuHeader1WireBox">
                                <cc1:TabContainer ID="ExamMasterTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                    ActiveTabIndex="0" AutoPostBack="true" meta:resourcekey="ExamCustomSearchTabContainerResource1">
                                    <cc1:TabPanel ID="ExamMasterTabPanel" runat="server" HeaderText="Exam Master">
                                        <HeaderTemplate>
                                            <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                <li class="fancyTab"><a><i class="fas fa-edit"></i>&nbsp;General </a></li>
                                            </ul>
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <div class="himsBoxContent card-body" style="padding-bottom: 7px">
                                                <asp:Panel ID="DetailPanel" runat="server">
                                                    <div class="contentHolder">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SearchCategoryLabel" Text="Category" SkinID="MandatoryLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="SearchCategoryDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True" OnSelectedIndexChanged="SearchCategoryDropDownList_SelectedIndexChanged"
                                                                    onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SearchSubCategoryLabel" Text="Sub Category" SkinID="MandatoryLabel"
                                                                    runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="SearchSubCategoryDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                                    OnSelectedIndexChanged="SearchSubCategoryDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

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


                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                                    AutoPostBack="True" onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                                    OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>


                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SearchClassLabel" Text="Class" SkinID="MandatoryLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="SearchClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" class="form-control" AutoPostBack="True" OnSelectedIndexChanged="SearchClassDropDownList_OnSelectedIndexChanged"
                                                                    onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SearchDivisionLabel" SkinID="MandatoryLabel" Text="Division" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="SearchDivisionDropDownList" AutoPostBack="True" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" class="form-control" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="SearchDivisionDropDownList_OnSelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>



                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ExamLabel" Text="Exam" SkinID="MandatoryLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="SearchExamDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" class="form-control" OnSelectedIndexChanged="SearchExamDropDownList_OnSelectedIndexChanged"
                                                                    onmouseenter="showHideTooltip()" AutoPostBack="True">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>



                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="OrderByLabel" runat="server" Text="Order By"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="OrderByDropDownList" SkinID="CustomWidthDropDownList"
                                                                    class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                    <asp:ListItem Text="Roll No" Value="1" Selected="True"></asp:ListItem>
                                                                    <asp:ListItem Value="2"></asp:ListItem>
                                                                    <asp:ListItem Value="3">Student Name</asp:ListItem>
                                                                    <asp:ListItem Value="4">Father Name</asp:ListItem>
                                                                    <asp:ListItem Value="5">SurName</asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div id="Prefixtd" runat="server">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth pTop5">
                                                                    <asp:Label ID="PrefixLabel" runat="server" Text="Prefix" Visible="false"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:TextBox ID="PrefixTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                                        onmouseenter="showHideTooltip()" Visible="false"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth pTop5">
                                                                <asp:Label ID="StartingSeatNoLabel" runat="server" Text="Starting Seat No" Visible="false"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="StartingSeatNoTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                                    onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)" Visible="false"></asp:TextBox>
                                                            </div>
                                                        </div>


                                                        <div class="outerBox pTop5">
                                                            <asp:CheckBox ID="IsBlankCheckBox" runat="server" class="pLeft5" Visible="False" />
                                                            <asp:Label ID="IsEmptyLabel" runat="server" Text="Empty Data" Visible="False"></asp:Label>
                                                        </div>

                                                        <div id="info" runat="server" class="col-md-12" visible="false">
                                                            <div class="alert alert-info">
                                                                <i class="material-icons">info</i> |
                                                        <asp:Label ID="Label3" runat="server"></asp:Label>
                                                            </div>
                                                        </div>

                                                        <div class="alignCenter pTop15 col-md-12">
                                                            <asp:Button ID="SearchButton" Text="  Search" runat="server" OnClick="SearchButton_Click"
                                                                SkinID="0" CssClass="btn-search btn fas" />
                                                            <asp:Button ID="ResetButton" Text=" Reset" class="btn-reset btn fas" SkinID="0" runat="server" OnClick="ResetButton_Click" />
                                                            <asp:Button ID="ExportButton" runat="server" Text=" Export" OnClick="ExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />

                                                            <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                                                <i class="fa fa-arrow-down"></i>Browse</a>
                                                            <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                                                            <asp:Button ID="ImportButton" runat="server" Text=" Import" OnClick="ImportButton_Click" SkinID="0" class="btn btn-examcommon fas" />
                                                            <asp:Button ID="GetBirthDateInWordButton" Text="Get Birth Date In Word" SkinID="0" runat="server" OnClick="GetBirthDateInWordButton_Click" Visible="False" />
                                                            <asp:Button ID="GenerateButton" Text="&#xf0e2; Auto Generate" CssClass="btn-assign btn fas" SkinID="0" runat="Server" OnClick="GenerateButton_Click" Visible="false" />

                                                        </div>

                                                        <div class="col-md-12">
                                                            <asp:Label ID="UploadSuccessText" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                        </div>

                                                        <div id="Div1" class="himssuHeader6WireBox col-md-12" runat="server">
                                                            <div id="GridViewPagerDiv" runat="server">

                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText fLeft">
                                                                        <asp:Label ID="GridViewLabel" runat="server" />
                                                                    </div>

                                                                    <div class="fRight mt-27 display-flex">
                                                                        <asp:TextBox ID="ApplyAllTextBox" runat="server" ClientIDMode="Static" MaxLength="1000" Style="padding-top: 16px;"
                                                                            SkinID="CustomWidthTextBox"></asp:TextBox>&nbsp; &nbsp;
                                                                                <asp:Button ID="ApplyAllButton" runat="server" class="btn-apply btn fas" OnClick="ApplyAllButton_Click"
                                                                                    Text=" Apply All" SkinID="0" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="himsBoxContent pTop10">
                                                                <div class="table-responsive">
                                                                    <asp:GridView runat="server" ID="StudentDataUpdateGridView" AutoGenerateColumns="False"
                                                                        EmptyDataText="No records Found!!!" DataKeyNames="Id,AcademicId,SubCategory" OnRowDataBound="StudentDataUpdateGridView_RowDataBound" CssClass="table table-striped table-bordered table-hover">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="4%"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true"
                                                                                            Visible="true" OnCheckedChanged="HeaderSelectCheckBox_checked" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Roll No" meta:resourcekey="TemplateFieldResource2">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="RollNoLabel" runat="server" Text='<%# Eval("RollNo") %>' CssClass="boxEllips"
                                                                                        ToolTip='<%# Bind("RollNo") %>' Width="190px"></asp:Label>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle HorizontalAlign="Left" Width="30%" />
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Name" meta:resourcekey="TemplateFieldResource2">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="NameLabel" runat="server" Text='<%# Eval("Name") %>' CssClass="boxEllips"
                                                                                        ToolTip='<%# Bind("Name") %>' Width="190px"></asp:Label>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle HorizontalAlign="Left" Width="30%" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="ID No" meta:resourcekey="TemplateFieldResource1">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="CodeLabel" runat="server" Text='<%# Eval("Code") %>' CssClass="boxEllips"
                                                                                        ToolTip='<%# Bind("Code") %>'></asp:Label>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle HorizontalAlign="Left" Width="10%" />
                                                                            </asp:TemplateField>



                                                                            <asp:TemplateField HeaderText="Student Data">
                                                                                <ItemTemplate>
                                                                                    <asp:DropDownList ID="SubCategoryDropDownList" runat="server" Visible="false" SkinID="CustomWidthDropDownList"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Width="160px">
                                                                                    </asp:DropDownList>
                                                                                    <asp:TextBox ID="SubCategoryTextBox" runat="server" SkinID="CustomWidthTextBox" Visible="false" MaxLength="1000">
                                                                                    </asp:TextBox>
                                                                                    <asp:CheckBox ID="SubCategoryCheckBox" runat="server" Visible="false" />
                                                                                    <DPC:DatePickerControl ID="SubCategoryDatePicker" runat="server" DisplayDatePicker="true"
                                                                                        Visible="false" />
                                                                                    <acc:AutoCompleteControl ID="SubCategoryAutoCompleteControl" runat="server" MinimumPrefixLength="2"
                                                                                        MaxLength="1000" AutoPostBack="true" DisplayLoadingStatus="true" SkinID="CustomWidthTextBox"
                                                                                        Width="154px" ValidateOnTextChanged="false" Visible="false" />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle HorizontalAlign="Left" Width="40%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </ContentTemplate>
                                    </cc1:TabPanel>


                                    <cc1:TabPanel ID="ExamMasterBulkTabPanel" runat="server" HeaderText="Exam Master Bulk">
                                        <HeaderTemplate>
                                            <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                <li class="fancyTab"><a><i class="fas fa-edit"></i>&nbsp;Bulk Update </a></li>
                                            </ul>
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <div class="himsBoxContent card-body" style="padding-bottom: 7px">
                                                <asp:Panel ID="Panel2" runat="Server">
                                                    <div class="contentHolder">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <%--<asp:HiddenField ID="ContractorIdHiddenField" runat="server" />--%>
                                                                <asp:Label ID="Label2" Text="Category" SkinID="MandatoryLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="CategoryBulkDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="CategoryBulkDropDownList_SelectedIndexChanged"
                                                                    onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

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

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label5" runat="server" Text="Department"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="DepartmentBulkDropDownList" SkinID="CustomWidthDropDownList"
                                                                    AutoPostBack="true" onmouseleave="showHideTooltip()" class="form-control" onmouseenter="showHideTooltip()"
                                                                    OnSelectedIndexChanged="DepartmentBulkDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <%--<asp:HiddenField ID="ContractorIdHiddenField" runat="server" />--%>
                                                                <asp:Label ID="Label6" Text="Class" SkinID="MandatoryLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="ClassBulkDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" class="form-control" AutoPostBack="true" OnSelectedIndexChanged="ClassBulkDropDownList_SelectedIndexChanged"
                                                                    onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <%--<asp:HiddenField ID="ContractorIdHiddenField" runat="server" />--%>
                                                                <asp:Label ID="Label7" SkinID="MandatoryLabel" Text="Division" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="DivisionBulkDropDownList" AutoPostBack="true" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" class="form-control" onmouseenter="showHideTooltip()"
                                                                    OnSelectedIndexChanged="DivisionBulkDropDownList_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <%--<asp:HiddenField ID="ContractorIdHiddenField" runat="server" />--%>
                                                                <asp:Label ID="Label8" Text="Exam" SkinID="MandatoryLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="ExamBulkDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthDropDownList" class="form-control" OnSelectedIndexChanged="ExamBulkDropDownList_SelectedIndexChanged"
                                                                    onmouseenter="showHideTooltip()" AutoPostBack="true">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label9" runat="server" Text="Order By"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="OrderByBulkDropDownList" SkinID="CustomWidthDropDownList"
                                                                    class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                    <asp:ListItem Text="Roll No" Value="1" Selected="True"></asp:ListItem>
                                                                    <asp:ListItem Value="2"></asp:ListItem>
                                                                    <asp:ListItem Value="3">Student Name</asp:ListItem>
                                                                    <asp:ListItem Value="4">Father Name</asp:ListItem>
                                                                    <asp:ListItem Value="5">SurName</asp:ListItem>
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5">
                                                            <asp:CheckBox ID="IsBlankBulkCheckBox" runat="server" class="pLeft5" Visible="false" />
                                                            <asp:Label ID="IsEmptyBulkLabel" runat="server" Text="Empty Data" Visible="false"></asp:Label>
                                                        </div>

                                                        <div id="FilterStatusDiv" runat="server" visible="true">
                                                            <div class="outerBox11 pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:CheckBox ID="SubCategoryStatusCheckBox" runat="server" Visible="true" AutoPostBack="True" OnCheckedChanged="SubCategoryStatusCheckBox_CheckedChanged" />
                                                                    <asp:Label ID="SubCategoryBulkLabel" runat="server" Text="Sub Category" class="pLeft5"></asp:Label>
                                                                </div>
                                                                <div runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                    <asp:CheckBoxList ID="SubCategoryStatusCheckBoxList" runat="server">
                                                                    </asp:CheckBoxList>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop15 col-md-3" id="TabIndexDiv" runat="server">
                                                            <div class="fLeft">
                                                                <asp:CheckBox ID="ChkSetTabIndex" Enabled="false" runat="server" Text="Set Veritical Tab Index" onclick="SetTabIndexOnClick(this)" />
                                                            </div>
                                                        </div>


                                                        <div class="alignCenter col-md-12">
                                                            <asp:Button ID="SearchBulkButton" Text="&#xf002;  Search" runat="Server" OnClick="SearchBulkButton_Click"
                                                                SkinID="0" CssClass="btn-search btn fas" />
                                                            <asp:Button ID="ResetBulkButton" Text="&#xf0e2; Reset" class="btn-reset btn fas" SkinID="0" runat="Server" OnClick="ResetBulkButton_Click" />
                                                            <asp:Button ID="ExportBulkButton" runat="server" Text="&#xf093; Export" OnClick="ExportBulkButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />

                                                            <a href="javascript:;" onclick="bulkOpenFileUpload();" class="btn btn-browser">
                                                                <i class="fa fa-arrow-down"></i>Browse</a>
                                                            <asp:FileUpload ID="BulkFileUpload" runat="server" onChange="bulkReadURL(this);" ClientIDMode="Static" Style="display: none;" />
                                                            <asp:Button ID="ImportBulkButton" runat="server" Text="&#xf019; Import" OnClick="ImportBulkButton_Click" SkinID="0" class="btn btn-examcommon fas" />
                                                            <asp:Button ID="GetBirthDateBulkButton" Visible="false" Text="Get Birth Date In Word" SkinID="0" runat="Server" OnClick="GetBirthDateBulkButton_Click" />
                                                        </div>
                                                        <div class="col-md-12">
                                                            <asp:Label ID="BulkUploadSuccessText" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                        </div>
                                                        <div id="Div2" class="himssuHeader6WireBox pTop5 col-md-12" runat="server">
                                                            <div class="himsBoxContent pTop5">
                                                                <div class="table-responsive">

                                                                    <div id="ApplyAllDiv" runat="server" visible="false" class="pull-right col-md-6 display-flex">

                                                                        <asp:DropDownList ID="ApplyDropDownList" Style="height: 25px" OnSelectedIndexChanged="ApplyDropDownList_SelectedIndexChanged" runat="server" SkinID="CustomWidthDropDownList"
                                                                            AutoPostBack="true" CssClass="form-control mt-10">
                                                                        </asp:DropDownList>
                                                                        &nbsp;&nbsp;
                                                                        <asp:TextBox ID="ApplyAllBulkTextBox" runat="server" ClientIDMode="Static" MaxLength="1000"
                                                                            SkinID="CustomWidthTextBox"></asp:TextBox>&nbsp; &nbsp;
                                                                        <asp:Button ID="ApplyAllBulkButton" Style="top: 0px;" runat="server" class="btn-apply btn fas" OnClick="ApplyAllBulkButton_Click"
                                                                            Text="&#xf058; Apply All" SkinID="0" />
                                                                        <div class="cBoth"></div>
                                                                    </div>
                                                                    <br />
                                                                    <br />
                                                                    <asp:GridView runat="server" ID="StudentDataBulkUpdateGridView" AutoGenerateColumns="False"
                                                                        EmptyDataText="No records Found!!!" DataKeyNames="AcademicId" AllowPaging="False"
                                                                        ShowHeader="True" OnRowDataBound="StudentDataBulkUpdateGridView_RowDataBound" CssClass="pTop15 table table-striped table-bordered table-hover">
                                                                        <PagerSettings Visible="False" />
                                                                        <Columns>

                                                                            <asp:BoundField DataField="RollNo" HeaderText="Roll No" ItemStyle-Width="2%"></asp:BoundField>
                                                                            <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="8%"></asp:BoundField>
                                                                           <%-- <asp:BoundField DataField="Code" HeaderText="ID No" ItemStyle-Width="4%"></asp:BoundField>--%>
                                                                             <asp:TemplateField HeaderText="ID No" meta:resourcekey="TemplateFieldResource1" >
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="CodeBulkLabel" runat="server" Text='<%# Eval("Code") %>' CssClass="boxEllips"
                                                                                        ToolTip='<%# Bind("Code") %>'></asp:Label>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle HorizontalAlign="Left" Width="4%" />
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark1" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark1HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark1TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Remark2" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark2HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark2TextBox" runat="server" Text='' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark3" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark3HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark3TextBox" runat="server" Text='' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark4" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark4HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark4TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark5" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark5HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark5TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark6" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark6HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark6TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark7" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark7HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark7TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark8" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark8HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark8TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark9" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark9HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark9TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark10" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark10HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark10TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark11" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark11HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark11TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark12" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark12HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark12TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark13" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark13HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark13TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark14" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark14HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark14TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Remark15" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark15HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark15TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark16" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark16HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark16TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark17" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark17HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark17TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark18" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark18HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark18TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark19" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark19HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark19TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark20" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark20HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark20TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark21" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark21HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark21TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark22" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark22HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark22TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark23" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark23HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark23TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark24" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark24HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark24TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Remark25" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <HeaderTemplate>
                                                                                    <asp:Label ID="Remark25HeaderLabel" SkinID="CustomWidthTextBox" runat="server"></asp:Label>
                                                                                </HeaderTemplate>
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="Remark25TextBox" Text='' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>


                                                                            <%-- <asp:TemplateField HeaderText="ExamSeatNo" ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="ExamSeatNoTextBox" Text='<%# Eval("ExamSeatNo") %>' runat="server" SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                               <asp:TemplateField HeaderText="TotalDays" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="TotalDaysTextBox" runat="server" Text='<%# Eval("TotalDays") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="PresentDays" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="PresentDaysTextBox" runat="server" Text='<%# Eval("PresentDays") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="StudentHeight" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="StudentHeightTextBox" runat="server" Text='<%# Eval("StudentHeight") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="StudentWeight" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="StudentWeightTextBox" runat="server" Text='<%# Eval("StudentWeight") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="ResultRemark1" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="ResultRemark1TextBox" runat="server" Text='<%# Eval("ResultRemark1") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="ResultRemark2" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="ResultRemark2TextBox" runat="server" Text='<%# Eval("ResultRemark2") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="ResultRemark3" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="ResultRemark3TextBox" runat="server" Text='<%# Eval("ResultRemark3") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="GeneralRemark" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="GeneralRemarkTextBox" runat="server" Text='<%# Eval("GeneralRemark") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="MyInterestHobby" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="MyInterestHobbyTextBox" runat="server" Text='<%# Eval("MyInterestHobby") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Achievements" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="AchievementsTextBox" runat="server" Text='<%# Eval("Achievements") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="AreaOfInterest" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="AreaOfInterestTextBox" runat="server" Text='<%# Eval("AreaOfInterest") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Responsibility" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="ResponsibilityTextBox" runat="server" Text='<%# Eval("Responsibility") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="DentalHygiene" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="DentalHygieneTextBox" runat="server" Text='<%# Eval("DentalHygiene") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="VisionLeft" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="VisionLeftTextBox" runat="server" Text='<%# Eval("VisionLeft") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="VisionRight" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="VisionRightTextBox" runat="server" Text='<%# Eval("VisionRight") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="MyActivity" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="MyActivityTextBox" runat="server" Text='<%# Eval("MyActivity") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="ClassTeacherRemark" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="ClassTeacherRemarkTextBox" Text='<%# Eval("ClassTeacherRemark") %>' runat="server" SkinID="CustomWidthTextBox" MaxLength="1000">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="HouseRemark" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="HouseRemarkTextBox" runat="server" Text='<%# Eval("HouseRemark") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="MyGoal" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="MyGoalTextBox" runat="server" Text='<%# Eval("MyGoal") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="MyStrength" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="MyStrengthTextBox" runat="server" Text='<%# Eval("MyStrength") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="ImprovementArea" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="ImprovementAreaTextBox" runat="server" Text='<%# Eval("ImprovementArea") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="ProgressArea" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="ProgressAreaTextBox" runat="server" Text='<%# Eval("ProgressArea") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="ExamCenter" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="ExamCenterTextBox" runat="server" Text='<%# Eval("ExamCenter") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                             <asp:TemplateField HeaderText="ExamBlock" ItemStyle-Width="8%" Visible="false" ItemStyle-HorizontalAlign="Left"
                                                                                ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="ExamBlockTextBox" runat="server" Text='<%# Eval("ExamBlock") %>' SkinID="CustomWidthTextBox">
                                                                                    </asp:TextBox>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>--%>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </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><i class="fas fa-sync"></i>&nbsp;Attendance Update For Exam</a></li>
                                            </ul>

                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <div class="himsBoxContent card-body">
                                                <asp:Panel ID="pnlClick" runat="server">
                                                    <div class="himsBoxHeader card-head inner">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                                <header>
                                                                    <%--<asp:Image ID="Image1" runat="server" />--%>
                                                                    <asp:Label ID="Label1" runat="server" Text="Attendance Update for exam"></asp:Label>
                                                                </header>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>

                                                <%--  <cc1:CollapsiblePanelExtender
                                                    ID="CollapsiblePanelExtender1"
                                                    runat="server"
                                                    CollapseControlID="pnlClick"
                                                    Collapsed="true"
                                                    ExpandControlID="pnlClick"
                                                    TextLabelID="lblMessage"
                                                    CollapsedText="Show"
                                                    ExpandedText="Hide"
                                                    ImageControlID="Image1"
                                                    CollapsedImage="~/Images/icons/expandtab.png"
                                                    ExpandedImage="~/Images/icons/collapsetab.png"
                                                    ExpandDirection="Vertical"
                                                    TargetControlID="Panel1"
                                                    ScrollContents="false">
                                                </cc1:CollapsiblePanelExtender>--%>



                                                <div class="himsBoxContent">
                                                    <asp:Panel ID="Panel1" runat="Server">
                                                        <div class="contentHolder">

                                                            <%--change label because Attendance Update only based on ExamSubGroup mantisid 0027477--%>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="UpdateExamSubGroupLabel" runat="server" SkinID="MandatoryLabel" Text="Exam"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="UpdateExamSubGroupDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" class="form-control" OnSelectedIndexChanged="UpdateExamSubGroupDropDownList_SelectedIndexChanged"
                                                                        onmouseenter="showHideTooltip()" AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>


                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="UpdateDepartmentLabel" runat="server" Text="Department"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="UpdateDepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                                        AutoPostBack="true" CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                        OnSelectedIndexChanged="UpdateDepartmentDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <%--<asp:HiddenField ID="ContractorIdHiddenField" runat="server" />--%>
                                                                    <asp:Label ID="UpdateClassLabel" Text="Class" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="UpdateClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" class="form-control" AutoPostBack="true" OnSelectedIndexChanged="UpdateClassDropDownList_SelectedIndexChanged"
                                                                        onmouseenter="showHideTooltip()">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <%--<asp:HiddenField ID="ContractorIdHiddenField" runat="server" />--%>
                                                                    <asp:Label ID="UpdateDivisionLabel" Text="Division" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="UpdateDivisionDropDownList" AutoPostBack="true" runat="server" onmouseleave="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" class="form-control" onmouseenter="showHideTooltip()">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>





                                                            <%--hide this div because Attendance Update only based on ExamSubGroup mantisid 0027477--%>
                                                            <div class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                                <div class="controlLabelWidth">
                                                                    <%--<asp:HiddenField ID="ContractorIdHiddenField" runat="server" />--%>
                                                                    <asp:Label ID="UpdateExamLabel" Text="Exam" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList ID="UpdateExamDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        SkinID="CustomWidthDropDownList" class="form-control"
                                                                        onmouseenter="showHideTooltip()" AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>


                                                            <%--  <div class="cBoth">
                                                        </div>--%>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="SearchFromDateLabel" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="SearchFromDatePicker" runat="server" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="SearchToDateLabel" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="SearchToDatePicker" runat="server" />
                                                                </div>
                                                            </div>




                                                            <div class="alignCenter pTop5 col-md-12">
                                                                <asp:Button ID="UpdateButton" Text="&#xf021; Update" runat="Server"
                                                                    SkinID="0" CssClass="btn-update btn fas" OnClick="UpdateButton_Click" />

                                                            </div>


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

                                </cc1:TabContainer>

                            </div>
                        </div>
                    </div>

                </div>
                </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
            </div>
            </div>

        </ContentTemplate>
    </asp:UpdatePanel>
    <%--  <script data-main="../../../JavaScript/rjs/student-result-remark" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/student-result-remark")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <script type="text/javascript">
        function SetTabIndexOnClick(chkPassport) {
            //salert(chkPassport.checked);
            if (chkPassport.checked == true) {
                SetTabIndex();
                $($("#ctl00_CP_ExamMasterTabContainer_ExamMasterBulkTabPanel_StudentDataBulkUpdateGridView tr:not(:first)").closest('tr').find("input:text")[0]).focus();
            }
            else {
                $('#ctl00_CP_ExamMasterTabContainer_ExamMasterBulkTabPanel_StudentDataBulkUpdateGridView td').find("input").removeAttr("tabindex");
                $($("#ctl00_CP_ExamMasterTabContainer_ExamMasterBulkTabPanel_StudentDataBulkUpdateGridView tr:not(:first)").closest('tr').find("input:text")[0]).focus();
            }

        }

        function SetTabIndex() {
            // alert("hi");
            var maxRowCount = 0;

            // Set columnCount to the count of the row with the most cells
            // Loop through all rows in case some rows are larger than others
            $('#ctl00_CP_ExamMasterTabContainer_ExamMasterBulkTabPanel_StudentDataBulkUpdateGridView tr:not(:first)').each(function () {
                maxRowCount = Math.max(maxRowCount, $(this).children('td').length);
            });

            // Number all of the cells in the table
            var cellCounter = 1;

            // Loop through the table, column first instead of row first
            for (var columnIndex = 0; columnIndex < maxRowCount; ++columnIndex) {
                // Loop through all the rows for the current column
                $('table tr').each(function () {
                    // ...but only look at cells matching the current column
                    var cellForCurrentColumn = $(this)
                    .children('td')
                    .eq(columnIndex)
                    .find('input');

                    // Some rows could be bigger than others,
                    // so cellForCurrentColumn might not exist for shorter rows
                    if (cellForCurrentColumn != null) {
                        // Set the tab index and then increment the counter
                        cellForCurrentColumn.attr('tabindex', cellCounter++);
                    }
                });
            }
        }
        $("#__tab_ctl00_CP_ExamMasterTabContainer_ExamMasterBulkTabPanel").click(function () {
            CategoryBulkDropDownList
        });

        function isNumberKeywithDot(evt) {
            var txtval = $(evt).val();
            var number = evt.selectionStart;
            var charCode = (evt.which) ? evt.which : event.keyCode;
            //txtval = txtval + String.fromCharCode(event.keyCode);
            txtval = [txtval.slice(0, number), String.fromCharCode(event.keyCode), txtval.slice(number)].join('')
            if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57))
                return false;
            if (txtval.indexOf(".") == -1) {
                var TextValidation = new RegExp('^[0-9]{0,3}$');
                if (TextValidation.test(txtval) != true) {
                    return false;
                }
            } else {
                var TextValidation = new RegExp('^[0-9]{1,3}\.\[0-9]{0,2}$');
                if (TextValidation.test(txtval) != true) {
                    return false;
                }
            }
            return true;
        }

        function SubCategoryTextBox_OnKeyDown(evt) {
            var txtval = $(evt).val();
            var charCode = (evt.which) ? evt.which : event.keyCode;
            var numberStart = evt.selectionStart;
            var numberEnd = evt.selectionEnd;
            if (charCode == 8) {
                if (numberStart == numberEnd) {
                    txtval = [txtval.slice(0, numberStart - 1), txtval.slice(numberEnd)].join('')
                }
                else {
                    txtval = [txtval.slice(0,numberStart), txtval.slice(numberEnd + 1)].join('')
                }
                if (txtval.indexOf(".") == -1) {
                    var TextValidation = new RegExp('^[0-9]{0,3}$');
                    if (TextValidation.test(txtval) != true) {
                        return false;
                    }
                } else {
                    var TextValidation = new RegExp('^[0-9]{1,3}\.[0-9]{0,2}$');
                    if (TextValidation.test(txtval) != true) {
                        return false;
                    }
                }
            }
            return true;
        }

    </script>

</asp:Content>
