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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <script type="text/javascript">
        $(document).ready(function () {
            //debugger;
            HTMLInputElement.prototype.scrollIntoView = function (a) { this.scrollIntoViewIfNeeded(); }
            HTMLSelectElement.prototype.scrollIntoView = function (a) { this.scrollIntoViewIfNeeded(); }
            HTMLAreaElement.prototype.scrollIntoView = function (a) { this.scrollIntoViewIfNeeded(); }
        });
    </script>
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="leftUlMenu">
                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="112"
                                            Visible="true" runat="server" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-tasks"></i>
                                        <asp:Label ID="Label1" runat="server" Text="Admission SetUp"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchClassLabel" Text="Class" runat="server" meta:resourcekey="StateNameLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="SearchClassDropDownList" SkinID="CustomWidthDropDownList"
                                                OnSelectedIndexChanged="SearchClassDropDownList_SelectedIndexChanged" AutoPostBack="true"
                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="fLeft pTop5">
                                            <asp:CheckBox ID="ApplyToOtherClassCheckBox" runat="server" OnCheckedChanged="ApplyToOtherClassCheckBox_CheckedChanged" Text="Apply To Other Class"
                                                AutoPostBack="true" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="fLeft pTop5">
                                            <asp:CheckBox ID="IsSendMailFormAttachment" runat="server" Text="Is Send Mail Form Attachment"
                                                AutoPostBack="true" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                        </div>
                                        <div class="fLeft pRight5" style="width: max-content; margin-left: -50px">
                                            <asp:Button ID="OnlineEntryLinkButton" runat="server" SkinID="0" CssClass="btn btn-assign fas" Text=" Online Entry Link" OnClick="OnlineEntryLinkButton_Click" />
                                            <asp:Button ID="OnlineEntryLinkNewButton" runat="server" SkinID="0" CssClass="btn btn-assign fas" Text=" Online Entry New Link" OnClick="OnlineEntryLinkNewButton_Click" />
                                        </div>
                                    </div>


                                    <div id="DivClassCheckBoxList" class="outerBox11 pTop5  col-md-6" runat="server" visible="false">
                                        <div class="col-md-6 ">
                                            <div class="select">
                                                <asp:CheckBox ID="ClassCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="ClassCheckBox_CheckedChanged" Text="Select All" />
                                            </div>
                                            <div id="ClassDivisionDiv" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                <asp:CheckBoxList ID="ClassDivisionCheckBoxList" runat="server">
                                                </asp:CheckBoxList>
                                            </div>
                                        </div>
                                        <div class="col-md-6 ">
                                            <asp:Button ID="ApplyForSelectClassButton" runat="server" SkinID="0" OnClick="ApplyForSelectClassButton_Click"
                                                Text="Apply For Select Class" CssClass="btn btn-apply" />
                                        </div>
                                        <div class="col-md-6 "></div>
                                        <div class="col-md-6 "></div>
                                        <div class="col-md-6 "></div>
                                        <div class="col-md-6 ">
                                            <asp:Button ID="AdmissionFieldApply" runat="server" SkinID="0" OnClick="AdmissionFieldApply_Click"
                                                Text="Apply Admission Field" CssClass="btn btn-apply" Visible="false" />
                                            <%--<asp:Button ID="ApplyAdmissionInquiryFieldButton" runat="server" SkinID="0" OnClick="ApplyAdmissionInquiryFieldButton_Click"
                                                Text="Apply Admission Inquiry Field" CssClass="btn btn-apply" Visible="false" />--%>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5">
                                        <div class="fLeft pRight5">
                                            <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                        </div>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                    <cc1:TabContainer Width="100%" ID="PermissionTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox ajax__tab_container ajax__tab_default pTop5"
                                        AutoPostBack="true" meta:resourcekey="StudentCustomSearchTabContainerResource1"
                                        ActiveTabIndex="0" OnActiveTabChanged="PermissionTabContainer_ActiveTabChanged">
                                        <cc1:TabPanel Width="100%" ID="AdmissionSetup" runat="server" HeaderText="Admission Setup">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs" style="width: 135px !important">
                                                    <li class="fancyTab">
                                                        <a><i class="fas  fa-bars" style="margin: 0px 1px !important"></i>&nbsp;Admission Setup </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="tableContainer">
                                                        <div>
                                                            <div id="Div1" class="himssuHeader6WireBox pTop5  col-md-12"
                                                                runat="server">
                                                                <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="pull-right col-md-3 display-flex">
                                                                            <asp:DropDownList ID="AddGridDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                CssClass="form-control">
                                                                                <asp:ListItem Text="1" Value="0" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="5" Value="5"></asp:ListItem>
                                                                                <asp:ListItem Text="10" Value="10"></asp:ListItem>
                                                                                <asp:ListItem Text="15" Value="15"></asp:ListItem>
                                                                            </asp:DropDownList>&nbsp;&nbsp;
                                                                <asp:Button ID="AddButton" runat="server" SkinID="0" CssClass="btn btn-add fas" OnClick="AddButton_Click"
                                                                    Text="&#xf067; Add" />
                                                                        </div>
                                                                        <%-- <div class="headerText " style="display:none">
                                                                <header>
                                                                    <asp:Label ID="GridViewLabel" Text="Set Up List" runat="server" />
                                                                </header>
                                                            </div>--%>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent table-responsive">
                                                                    <asp:GridView ID="AdmissionSetupGridView" runat="server" AutoGenerateColumns="False"
                                                                        EmptyDataText="No Records Found !!" DataKeyNames="Id,Index,ClassId" CssClass="table table-striped table-bordered table-hover">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Criteria">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="CriteriaTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="100" Text='<%# Bind("CriteriaName") %>'></asp:TextBox>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="25%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Total Marks">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="TotalMarksTextBox" runat="server" SkinID="CustomWidthTextBox" Width="350px"
                                                                                        MaxLength="100" Text='<%# Bind("TotalMark") %>'></asp:TextBox>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="25%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Delete">
                                                                                <ItemTemplate>
                                                                                    <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                                        ToolTip="Delete" ImageUrl="../../../Images/icons/icon_delete.gif" />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="7%" />
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="AdmissionCriteria" runat="server" HeaderText="Online Admission Criteria">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs" style="width: 190px !important">
                                                    <li class="fancyTab">
                                                        <a><i class="fas  fa-bars" style="margin: 0px 2px !important"></i>&nbsp;Online Admission Criteria </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                        <div class="himssuHeader1WireBox">

                                                            <div class="contentHolder pTop5 col-md-12">
                                                                <div class="outerBox11 pTop5 col-md-11">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="AdmissionFormRemarkLabel" runat="server" Text="Admission Form Remark"></asp:Label>
                                                                        <asp:TextBox ID="AdmissionFormRemarkTextBox" runat="server"
                                                                            TextMode="MultiLine" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="IsValidateBirthdateCheckBox" AutoPostBack="True" runat="server"
                                                                            OnCheckedChanged="ValidateBirthDateCheckBox_CheckedChanged" />
                                                                        <asp:Label ID="IsValidateBirthdateLabel" runat="server" Text="Validate Birthdate" AssociatedControlID="IsValidateBirthdateCheckBox"></asp:Label>
                                                                    </div>
                                                                </div>
                                                                <div class=" outerBox col-md-8">
                                                                    <div id="BirthDateTextBox" class="" runat="server" visible="False">

                                                                        <div class="col-md-4" style="padding-left: 0px; padding-right: 0px">
                                                                            <asp:Label ID="DOBFromdateLabel" runat="server" Text="DOB(FromDate)" meta:resourcekey="DOBLabelResource1"></asp:Label>

                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DOBFromDateTextBox" runat="server"
                                                                                onkeyup="FormatIt(this);" />
                                                                        </div>
                                                                        <div class="col-md-4">
                                                                            <asp:Label ID="DOBTodateLabel1" runat="server" Text="DOB(ToDate)" meta:resourcekey="DOBLabelResource1"></asp:Label>

                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DOBToDateTextBox" runat="server"
                                                                                onkeyup="FormatIt(this);" />
                                                                        </div>

                                                                    </div>

                                                                    <div id="AgeCutOffDateDiv" class="outerBox col-md-4" runat="server" visible="true">
                                                                        <div class="">
                                                                            <asp:Label ID="AgeCutOffDateLabel" runat="server" Text="Age Cut Off Date" meta:resourcekey="AgeCutOffDateLabelResource"></asp:Label>
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="AgeCutOffDateTextBox" runat="server" onkeyup="FormatIt(this);" />
                                                                        </div>
                                                                    </div>

                                                                </div>

                                                                <div class="outerBox pTop5 col-md-12">
                                                                    <%--<div class="outerBox pTop5 col-md-4">--%>
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="IsOtherInformationCheckBox" runat="server" AutoPostBack="true" Text="Other Information Required" OnCheckedChanged="OtherInformationCheckBox_CheckedChanged" />
                                                                    </div>
                                                                    <%--</div>--%>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-4" id="BirthPlaceDetailDiv" runat="server">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="IsBirthPlaceDetailRequiredCheckBox" runat="server" Text="Birth Place Detail Required" AssociatedControlID="IsBirthPlaceDetailRequiredCheckBox" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-4" id="BloodGroupDetailDiv" runat="server">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="IsBloodGroupDetailRequiredCheckBox" runat="server" Text="Blood Group Detail Required" AssociatedControlID="IsBloodGroupDetailRequiredCheckBox" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-4" id="HostelDeatilDiv" runat="server">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="IsHostelDeatilCheckBox" runat="server" Text="Hostel Detail Required" AssociatedControlID="IsHostelDeatilCheckBox" />
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox pTop5 col-md-4" id="TransportDiv" runat="server">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="TransportCheckBox" runat="server" Text="Transport Detail Required" AssociatedControlID="TransportCheckBox" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-4" id="AadhaarDetailDiv" runat="server">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="IsAadhaarDetailRequiredCheckBox" runat="server" Text="Aadhaar Detail Required" AssociatedControlID="IsAadhaarDetailRequiredCheckBox" />
                                                                    </div>
                                                                </div>
                                                                <div class="">
                                                                    <div class="outerBox pTop5 col-md-12">
                                                                        <asp:CheckBox ID="IsFixStudentAcademicCheckBox" runat="server" Onclick="IsFixStudentAcademicChange(this);"
                                                                            Text="Fix Student Academic" />
                                                                    </div>


                                                                    <div id="StudentAcademicForDiv" runat="server" style="display: none">
                                                                        <div class="pTop5 col-md-4">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="StudentAcademicForTextBoxLabel" runat="server" Text="Student Academic Standard"></asp:Label>
                                                                                <asp:TextBox ID="StudentAcademicForTextBox" runat="server" />
                                                                                <div class="col-md-16">
                                                                                    <div class="alert alert-info">
                                                                                        <i class="material-icons">info</i> Enter multiple standards in comma-separated formats, e.g., 4, 5, 6.
                                                                                    </div>
                                                                                </div>

                                                                            </div>

                                                                        </div>
                                                                    </div>


                                                                    <div class="outerBox11 pTop5 col-md-4">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="StudentAcademicRemarkLabel" runat="server" Text="Student Academic Remark"></asp:Label>
                                                                            <asp:TextBox ID="StudentAcademicRemarkTextBox" runat="server"
                                                                                TextMode="MultiLine" />
                                                                        </div>
                                                                    </div>

                                                                </div>

                                                                <div class="outerBox pTop5 col-md-12" style="display: none;">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:CheckBox ID="IsParentAcademicCheckBox" AutoPostBack="True" runat="server" />
                                                                        <asp:Label ID="IsParentAcademicLabel" runat="server" Text="Parent Academic Details required" AssociatedControlID="IsParentAcademicCheckBox"></asp:Label>
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox11 pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <asp:CheckBox ID="IsStudentAcademicCheckBox" runat="server" />
                                                                        <asp:Label ID="IsStudentAcademicLabel" runat="server" Text="Student Academic Details required" AssociatedControlID="IsStudentAcademicCheckBox"></asp:Label>
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox11 pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <asp:CheckBox ID="IsFamilyDetailCheckBox" runat="server" Onclick="IsFamilyDetailCheckBoxChange(this);" />
                                                                        <asp:Label ID="IsFamilyDetailLabel" runat="server" Text="Family Details required" AssociatedControlID="IsFamilyDetailCheckBox"></asp:Label>
                                                                    </div>
                                                                    <div class="outerBox11 pTop5 col-md-4" id="FamilyRemarkDiv" runat="server" style="display: none;">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="FamilyDetailRemarkLabel" runat="server" Text="Family Detail Remark"></asp:Label>
                                                                        </div>
                                                                        <asp:TextBox ID="FamilyDetailRemarkTextBox" runat="server"
                                                                            TextMode="MultiLine" />
                                                                    </div>
                                                                </div>

                                                                <div class="pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <asp:CheckBox ID="IsFatherDetailCheckBox" runat="server" Onclick="IsFatherDetailCheckBoxChange(this);" />

                                                                        <asp:Label ID="IsFatherDetailLabel" runat="server" Text="Father Details required" AssociatedControlID="IsFatherDetailCheckBox"></asp:Label>
                                                                    </div>

                                                                    <div runat="server" style="display: none;" id="FatherDetailDiv">
                                                                        <div class="outerBox pTop5 col-md-5">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="IsFatherFullDetailCheckBox" runat="server" />
                                                                                <asp:Label ID="IsFatherFulLabel" runat="server" Text="Father Full Details required" AssociatedControlID="IsFatherFullDetailCheckBox"></asp:Label>
                                                                            </div>
                                                                        </div>

                                                                        <div class="outerBox pTop5 col-md-4">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="IsFatherAcademicCheckBox" runat="server" />
                                                                                <asp:Label ID="IsFatherAcademicLabel" runat="server" Text="Father Academic Details required" AssociatedControlID="IsFatherAcademicCheckBox"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <asp:CheckBox ID="IsMotherDetailCheckBox" runat="server" Onclick="IsMotherDetailCheckBoxChange(this);" Text="Mother Details required" />
                                                                        <%--<asp:Label ID="IsMotherDetailLabel" runat="server" Text="Mother Details required" AssociatedControlID="IsMotherDetailCheckBox"></asp:Label>--%>
                                                                    </div>

                                                                    <div runat="server" style="display: none;" id="IsMotherAcademicDiv">
                                                                        <div class="outerBox pTop5 col-md-5">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="IsMotherFullDetailCheckBox" runat="server" />
                                                                                <asp:Label ID="IsMotherFullDetailLabel" runat="server" Text="Mother Full Details required" AssociatedControlID="IsMotherFullDetailCheckBox"></asp:Label>
                                                                            </div>
                                                                        </div>

                                                                        <div class="outerBox pTop5 col-md-4">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="IsMotherAcademicCheckBox" runat="server" />
                                                                                <asp:Label ID="IsMotherAcademicLabel" runat="server" Text="Mother Academic Details required" AssociatedControlID="IsMotherAcademicCheckBox"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <asp:CheckBox ID="IsGuardianDetailCheckBox" runat="server" Onclick="IsGuardianCheckBoxChange(this);" Text="Guardian Details required" />

                                                                    </div>
                                                                    <div runat="server" style="display: none;" id="GuardianDetailDiv">
                                                                        <div class="outerBox pTop5 col-md-5">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="IsGuardianFullDetailCheckBox" runat="server" Text="Guardian Full Details required" />

                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-4">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="IsGuardianAcademicDetailCheckBox" runat="server" Text="Guardian Academic Details required" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="IsFixParentAcademicCheckBox" runat="server" Text="Fix Parent Academic" />
                                                                        </div>
                                                                    </div>


                                                                    <div class="pTop5 ">
                                                                        <div id="ParentAcademicForDiv" runat="server">
                                                                            <div class="outerBox pTop5 col-md-5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="ParentAcademicForLabel" runat="server" Text="Parent Academic Standard"></asp:Label>
                                                                                    <asp:TextBox ID="ParentAcademicForTextBox" runat="server" Width="300px" />
                                                                                    <div class="col-md-16">
                                                                                        <div class="alert alert-info">
                                                                                            <i class="material-icons">info</i>
                                                                                            Enter multiple standard in comma seprated format e.g. 4,5,6
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>

                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop5 col-md-4">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ParentAcademicRemarkLabel" runat="server" Text="Parent Academic Remark"></asp:Label>
                                                                            <asp:TextBox ID="ParentAcademicRemarkTextBox" runat="server"
                                                                                TextMode="MultiLine" />
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="IsSiblingDetailCheckBox" runat="server" Text="Sibling Details required" />
                                                                        </div>
                                                                    </div>
                                                                </div>




                                                                <div class="pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth clsIsReferenceDetailCheckBox">
                                                                            <asp:CheckBox ID="IsReferenceDetailCheckBox" Text="Fix Reference Details" runat="server" Onclick="IsReferenceDetailCheckBoxChange(this);" />

                                                                        </div>
                                                                    </div>
                                                                    <div runat="server" id="ReferenceDiv" style="display: none;">
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="Label3" runat="server" Text="Reference 1"></asp:Label>
                                                                                <asp:TextBox ID="Refernce1TextBox" runat="server" Width="150px" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="Label5" runat="server" Text="Reference 2"></asp:Label>
                                                                                <asp:TextBox ID="Reference2TextBox" runat="server" Width="150px" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-4">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="IsHealthDetailRequiredCheckBox" runat="server" Text="Health Detail Required" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-2">
                                                                        <asp:CheckBox ID="RequiredCheckBox" Text="Required 1" runat="server" Onclick="ReqiredCheckBoxChange(this);" />
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-2">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="MandotoryCheckBox" runat="server" Text="Mandotory" />
                                                                        </div>
                                                                    </div>

                                                                    <div runat="server" style="display: none;" id="RequiredDiv">
                                                                        <div class="outerBox pTop11 col-md-3" runat="server">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RemarkLabel" runat="server" Text="Remark"></asp:Label>
                                                                                <asp:TextBox ID="RemarkTextBoxx" runat="server" TextMode="MultiLine" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-2">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="TypeListLabel" runat="server" Text="TypeList"></asp:Label>
                                                                                <asp:DropDownList ID="TypeListDropDownList" runat="server" OnSelectedIndexChanged="TypeListDropDownList_SelectedIndexChanged" AutoPostBack="True" class="form-control" />

                                                                            </div>
                                                                        </div>
                                                                        <div id="ListRemarkDiv" runat="server">
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="ListRemakLabel" runat="server" Text="ListRemark"></asp:Label>
                                                                                    <asp:TextBox ID="ListRemarkTextBox" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" />
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-2">
                                                                        <asp:CheckBox ID="RequiredCheckBox1" Text="Required 2" runat="server" Onclick="Required2CheckBoxChange(this);" />
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-2">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="MandotoryCheckBox1" runat="server" Text="mandatory" />
                                                                        </div>
                                                                    </div>

                                                                    <div runat="server" style="display: none;" id="RequiredDiv1">
                                                                        <div class="outerBox pTop11 col-md-3" runat="server">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RemarkLabel1" runat="server" Text="Remark"></asp:Label>
                                                                                <asp:TextBox ID="RemarkTextBox1" runat="server" TextMode="MultiLine" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-2">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="TypeListLabel1" runat="server" Text="TypeList"></asp:Label>
                                                                                <asp:DropDownList ID="TypeListDropDownList1" runat="server" OnSelectedIndexChanged="TypeListDropDownList1_SelectedIndexChanged" AutoPostBack="true" class="form-control" />

                                                                            </div>
                                                                        </div>
                                                                        <div id="ListRemarkDiv1" runat="server">
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="ListRemakLabel1" runat="server" Text="ListRemark"></asp:Label>
                                                                                    <asp:TextBox ID="ListRemarkTextBox1" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" />
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div class="pTop5 col-md-12">
                                                                    <div class="outerBox pTop5 col-md-2">
                                                                        <asp:CheckBox ID="RequiredCheckBox2" Text="Required 3" runat="server" Onclick="Required3CheckBoxChange(this);" />
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-2">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="MandotoryCheckBox2" runat="server" Text="Mandotory" />
                                                                        </div>
                                                                    </div>
                                                                    <div runat="server" style="display: none;" id="RequiredDiv2">
                                                                        <div class="outerBox pTop11 col-md-3" runat="server">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RemarkLabel2" runat="server" Text="Remark"></asp:Label>
                                                                                <asp:TextBox ID="RemarkTextBox2" runat="server" TextMode="MultiLine" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-2">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="TypeListLabel2" runat="server" Text="TypeList"></asp:Label>
                                                                                <asp:DropDownList ID="TypeListDropDownList2" runat="server" OnSelectedIndexChanged="TypeListDropDownList2_SelectedIndexChanged" AutoPostBack="true" class="form-control" />

                                                                            </div>
                                                                        </div>
                                                                        <div id="ListRemarkDiv2" runat="server">
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="ListRemakLabel2" runat="server" Text="ListRemark"></asp:Label>
                                                                                    <asp:TextBox ID="ListRemarkTextBox2" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" />
                                                                                </div>
                                                                            </div>
                                                                        </div>

                                                                    </div>
                                                                    <div class="pTop5 col-md-12">
                                                                        <div class="outerBox pTop5">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="AdmissionFeeCheckBox" Text="Admission Fee" runat="server" AutoPostBack="True" OnCheckedChanged="AdmissionFeeCheckBox_CheckedChanged" />
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="">

                                                                        <div class="outerBox11 pTop5 col-md-12">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="ConfirmationRemarkLabel" runat="server" Text="Confirmation Remark"></asp:Label>
                                                                                <asp:TextBox ID="ConfirmationRemarkTextBox" runat="server"
                                                                                    TextMode="MultiLine" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-12">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="PublishCheckBox" runat="server" />
                                                                                <asp:Label ID="PublishLabel" runat="server" Text="Publish" AssociatedControlID="PublishCheckBox"></asp:Label>
                                                                            </div>
                                                                        </div>

                                                                    </div>


                                                                    <div class="outerBox11 pTop5 col-md-4">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ExtraRemar1kLabel" runat="server" Text="Extra Remark1"></asp:Label>
                                                                            <asp:TextBox ID="ExtraRemar1TextBox" runat="server"
                                                                                TextMode="MultiLine" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop5 col-md-4">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ExtraRemar2Label" runat="server" Text="Extra Remark2"></asp:Label>
                                                                            <asp:TextBox ID="ExtraRemar2TextBox" runat="server"
                                                                                TextMode="MultiLine" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop5 col-md-4">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ExtraRemar3Label" runat="server" Text="Extra Remark3"></asp:Label>
                                                                            <asp:TextBox ID="ExtraRemar3TextBox" runat="server"
                                                                                TextMode="MultiLine" />
                                                                        </div>
                                                                    </div>

                                                                </div>




                                                                <div class="pTop5 col-md-12">
                                                                    <div id="PayOnlineFeeDiv" runat="server">
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="IsPayFormFeeOnlineCheckBox" runat="server" OnCheckedChanged="IsPayFormFeeOnlineCheckBox_CheckedChanged"
                                                                                    AutoPostBack="True" />
                                                                                <asp:Label ID="IsPayFormFeeOnlineLabel" runat="server" Text="Pay Online Form Fee" AssociatedControlID="IsPayFormFeeOnlineCheckBox"></asp:Label>
                                                                            </div>
                                                                        </div>
                                                                        <div id="OnlineFeeDiv" runat="server" visible="False">
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FormFeeNameLabel" runat="server" Text="Form Fee Name" SkinID="MandatoryLabel"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FormFeeNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FormFeeAmountLabel" runat="server" Text="Form Fee Amount" SkinID="MandatoryLabel"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FormFeeAmountTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        runat="server" MaxLength="100" SkinID="CustomWidthTextbox" onKeypress="javascript:return MaskDecimal(event,12,2)"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="ReceiptBookLabel" runat="server" Text="Receipt Book"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:DropDownList runat="server" ID="ReceiptBookDropDownList" SkinID="CustomWidthDropDownList"
                                                                                        class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>


                                                                <div class="outerBox11 pTop5 col-md-11" visible="false" runat="server">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="AdmissionInquiryLabel" runat="server" Text="Admission Inquiry Remark"></asp:Label>
                                                                        <asp:TextBox ID="AdmissionInquiryRemarkTextBox" runat="server"
                                                                            TextMode="MultiLine" Style="word-wrap: normal; word-break: break-all;" />
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox11 pTop5 col-md-11">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="AdmissionConfirmationRemarkLabel" runat="server" Text="Admission Confirmation Remark"></asp:Label>
                                                                        <asp:TextBox ID="AdmissionConfirmationRemarkTextBox" runat="server"
                                                                            TextMode="MultiLine" Style="word-wrap: normal; word-break: break-all;" />
                                                                    </div>
                                                                </div>

                                                                <div id="OptionalSubjectDiv" class="outerBox11 pTop5  col-md-6" runat="server">
                                                                    <div class="outerBox pTop5 col-md-6">
                                                                        <div class="fLeft pTop5">
                                                                            <asp:CheckBox ID="OptionalSubjectCheckBox" runat="server" Text="Optional Subject Show" onclick="OptionalSubjectShow();" />
                                                                        </div>
                                                                    </div>
                                                                    <br />
                                                                    <div class="col-md-6" id="OptionalSubjectSelectDiv" runat="server">
                                                                        <div class="select">
                                                                            <asp:CheckBox ID="OptionalSubjectSelectAllCheckBox" runat="server" Text="Select All" onclick="OptionalSubjectSelect(this);" />
                                                                        </div>
                                                                        <div id="OptionalSubjectCheckBoxDiv" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="OptionalSubjectCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <%--Changes for mantis Id:41178--%>
                                                                <div class="helppadding outerBox11 col-md-12 pTop5">
                                                                    <div class="alert alert-info">
                                                                        <i class="material-icons pos-rel">info</i> |&nbsp;
                                                                        <asp:Label ID="lblfiledName" Text="Mentioned fields will be disable while Log into existing admission form : Birthdate, Gender, StudentName, FathersName, Surname, StudentPhoto, WhatsappContactNo, StreetOne, StreetTwo, StreetThree, City, State, Country, PinCode, MobileNo, ContactEmail, BirthPlace, BirthTaluka,BirthDistrict, BirthState, BirthCountry, PreviousSchool, Religion, FamilyCaste, CastCategory, Subcaste, Nationality, Mothertongue, OtherInformation, Livewith, MeritMarks, MeritGrade, Aadharnumber, BloodGroup, HostelRequired, TransportRequired, OptionalSubject, StudentAcademicDetails, FatherFullName, FatherMobileno, FatherBirthDate, FatherAadharNumber, FatherPancard, FatherQualification, FatherOccupation, FatherEmail, FatherAnnualIncome, FatherOrganization, FatherDesignation, FatherOfficePhone, FatherExStudent, FatherOfficeAddress, FatherPhoto, FatherPassOutYear, FatherAcademicDetails, MotherFullName, MotherMobileNo, MotherBirthDate, MotherAadharnumber, MotherPancard, MotherQualification, MotherOccupation, MotherEmail, MotherAnnualIncome, MotherOrganization, MotherDesignation, MotherOfficePhone, MotherExStudent, MotherOfficeAddress, MotherPhoto, MotherPassOutYear, MotherAcademicDetails, GuardianFullName, GuardianMobileNo, GuardianBirthdate, GuardianAadhaNumber, GuardianPancard, GuardianQualification, GuardianOccupation, GuardianEmail, GuardiAnannualncome, GuardianOrganization, GuardianDesignation, GuardianOfficePhone, GuardianExStudent, GuardianOfficeAddress, GuardianPhoto, GuardianPassOutYear, GuardiansAcademicDetails, SiblingDetails, ReferenceDetails, PhysicalDeformity, PhysicalDeformityRemark, MajorIllness, MajorIllnessRemark, Allergy, AllergyRemark, AdmissionCustomField,PENNumber,ApaarIdNumber,transport,busroute,busroutedestination" runat="server"></asp:Label><%--mantis : 0046082--%>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox11 pTop5 col-md-12">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="AdmissionFieldLabel" runat="server" Text="Existing Online Admission form Disable field"></asp:Label>
                                                                        <asp:TextBox ID="AdmissionFieldTextBox" runat="server" TextMode="MultiLine" Style="word-wrap: normal; word-break: break-all;" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                    </asp:Panel>
                                                </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>

                                        <cc1:TabPanel Width="100%" ID="TabPanel1" runat="server" HeaderText="Admission Setup">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs" style="width: 133px !important">
                                                    <li class="fancyTab">
                                                        <a><i class="fas  fa-bars" style="margin: 0px 2px !important"></i>&nbsp;Admission Field </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="tableContainer">
                                                        <div>
                                                            <div id="Div2" class="himssuHeader6WireBox pTop5  col-md-12" runat="server">
                                                                <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv1" runat="server">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="pull-right col-md-3 display-flex">
                                                                            <asp:DropDownList ID="AddGridDropDownList1" runat="server" SkinID="CustomWidthDropDownList"
                                                                                CssClass="form-control">
                                                                                <asp:ListItem Text="1" Value="0" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="5" Value="5"></asp:ListItem>
                                                                                <asp:ListItem Text="10" Value="10"></asp:ListItem>
                                                                                <asp:ListItem Text="15" Value="15"></asp:ListItem>
                                                                            </asp:DropDownList>&nbsp;&nbsp;
					                                                        <asp:Button ID="AddButton1" runat="server" SkinID="0" CssClass="btn btn-add fas" OnClick="AddButton1_Click" Text=" Add" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent table-responsive">
                                                                    <asp:GridView ID="AdmissionCriteriaFormGridView" runat="server" AutoGenerateColumns="False"
                                                                        EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover"
                                                                        DataKeyNames="Id,FieldTypeId" OnRowDataBound="AdmissionCriteriaFormGridView_RowDataBound">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Field Group">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FieldGroupTextBox" MaxLength="200" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("FieldGroup") %>' />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Field Remark">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FieldRemarkTextBox" MaxLength="500" runat="server" TextMode="MultiLine" SkinID="CustomWidthTextBox" Text='<%# Bind("FieldRemark") %>' />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="30%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Type List">
                                                                                <ItemTemplate>
                                                                                    <asp:DropDownList ID="TypeListGridviewDropDownList" runat="server" OnSelectedIndexChanged="TypeListGridviewDropDownList_SelectedIndexChanged" AutoPostBack="True" class="form-control" />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Field List">
                                                                                <ItemTemplate>
                                                                                    <%--Mantis - 040619--%>
                                                                                    <asp:TextBox ID="FieldListTextBox" MaxLength="1000" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("FieldList") %>' />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="20%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Field Order">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FieldOrderTextBox" TextMode="Number" MaxLength="4" runat="server" Text='<%# Bind("FieldOrder") %>' SkinID="CustomWidthTextBox" />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Is Field Mandatory">
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="IsFieldMandatoryCheckBox" runat="server" Checked='<%# Bind("IsFieldMandatory") %>' />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Delete">
                                                                                <ItemTemplate>
                                                                                    <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton1" runat="server" OnClick="DeleteImageButton1_Click"
                                                                                        ToolTip="Delete" ImageUrl="../../../Images/icons/icon_delete.gif" />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <%--<cc1:TabPanel Width="100%" ID="AdmissionInquiryTabPanel" runat="server" HeaderText="Admission Setup">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs" style="width: 175px !important">
                                                    <li class="fancyTab">
                                                        <a><i class="fas  fa-bars" style="margin:0px 2px !important"></i>&nbsp;Admission Inquiry Field </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="tableContainer">
                                                        <div>
                                                            <div id="Div6" class="himssuHeader6WireBox pTop5  col-md-12" runat="server">
                                                                <div class="himsBoxHeader card-head inner" id="Div7" runat="server">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="pull-right col-md-3 display-flex">
                                                                            <asp:DropDownList ID="AddCountDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                                CssClass="form-control">
                                                                                <asp:ListItem Text="1" Value="0" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="5" Value="5"></asp:ListItem>
                                                                                <asp:ListItem Text="10" Value="10"></asp:ListItem>
                                                                                <asp:ListItem Text="15" Value="15"></asp:ListItem>
                                                                            </asp:DropDownList>&nbsp;&nbsp;
					                                                        <asp:Button ID="AddFieldButton" runat="server" SkinID="0" CssClass="btn btn-add fas" Text=" Add" OnClick="AddFieldButton_Click" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent table-responsive">
                                                                    <asp:GridView ID="AdmissionInquiryGridview" runat="server" AutoGenerateColumns="False"
                                                                        EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover"
                                                                        DataKeyNames="Id,FieldTypeId" OnRowDataBound="AdmissionInquiryGridview_RowDataBound">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Field Group">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FieldGroupTextBox1" MaxLength="200" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("FieldGroup") %>' />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Field Remark">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FieldRemarkTextBox1" MaxLength="500" runat="server" TextMode="MultiLine" SkinID="CustomWidthTextBox" Text='<%# Bind("FieldRemark") %>' />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="30%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Type List">
                                                                                <ItemTemplate>
                                                                                    <asp:DropDownList ID="TypeListGridviewDropDownList1" runat="server" OnSelectedIndexChanged="TypeListGridviewDropDownList1_SelectedIndexChanged" AutoPostBack="True" class="form-control" />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Field List">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FieldListTextBox1" MaxLength="500" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("FieldList") %>' />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="20%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Field Order">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FieldOrderTextBox1" TextMode="Number" MaxLength="4" runat="server" Text='<%# Bind("FieldOrder") %>' SkinID="CustomWidthTextBox" />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Is Field Mandatory">
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="IsFieldMandatoryCheckBox1" runat="server" Checked='<%# Bind("IsFieldMandatory") %>' />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Delete">
                                                                                <ItemTemplate>
                                                                                    <asp:ImageButton SkinID="DeleteImage" ID="DeleteInquiryFieldImageButton" runat="server" OnClick="DeleteInquiryFieldImageButton_Click"
                                                                                        ToolTip="Delete" ImageUrl="../../../Images/icons/icon_delete.gif" />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>--%>
                                        <cc1:TabPanel Width="100%" ID="AdmissionFee" runat="server" HeaderText="Admission Fee" Visible="false">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs" style="width: 120px !important">
                                                    <li class="fancyTab">
                                                        <a><i class="fas  fa-bars" style="margin: 0px 1px !important"></i>&nbsp;Admission Fee </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="tableContainer">
                                                        <div>
                                                            <div id="Div3" class="himssuHeader6WireBox pTop5  col-md-12"
                                                                runat="server">
                                                                <div class="himsBoxHeader card-head inner" id="Div4" runat="server">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="pull-right col-md-3 display-flex">
                                                                            <asp:DropDownList ID="AddFeeGridViewDropDownList1" runat="server" SkinID="CustomWidthDropDownList"
                                                                                CssClass="form-control">
                                                                                <asp:ListItem Text="1" Value="0" Selected="True"></asp:ListItem>
                                                                                <asp:ListItem Text="5" Value="5"></asp:ListItem>
                                                                                <asp:ListItem Text="10" Value="10"></asp:ListItem>
                                                                                <asp:ListItem Text="15" Value="15"></asp:ListItem>
                                                                            </asp:DropDownList>&nbsp;&nbsp;
                                                                <asp:Button ID="AddButton2" runat="server" SkinID="0" CssClass="btn btn-add fas" OnClick="AddButton2_Click"
                                                                    Text="&#xf067; Add" />
                                                                        </div>
                                                                        <%-- <div class="headerText " style="display:none">
                                                                <header>
                                                                    <asp:Label ID="GridViewLabel" Text="Set Up List" runat="server" />
                                                                </header>
                                                            </div>--%>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent table-responsive">
                                                                    <asp:GridView ID="AdmissionFeeGridView" runat="server" AutoGenerateColumns="False"
                                                                        EmptyDataText="No Records Found !!" DataKeyNames="Id,ClassId" CssClass="table table-striped table-bordered table-hover">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Fee Number">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FeeNumberTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="4" onkeypress="javascript:return isNumberKey(this)" Text='<%# Bind("FeeNumber") %>'></asp:TextBox>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="25%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Fee Name">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FeeNameTextBox" runat="server" SkinID="CustomWidthTextBox" Width="350px"
                                                                                        Text='<%# Bind("FeeName") %>'></asp:TextBox>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="25%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Fee Order">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FeeOrderTextBox" runat="server" SkinID="CustomWidthTextBox" Width="350px"
                                                                                        MaxLength="4" onkeypress="javascript:return isNumberKey(this)" Text='<%# Bind("FeeOrder") %>'></asp:TextBox>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="25%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Fee Amount">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="FeeAmountTextBox" runat="server" SkinID="CustomWidthTextBox" Width="350px"
                                                                                        MaxLength="10" onKeypress="javascript:return MaskDecimal(event,10,2)" Text='<%# Bind("FeeAmount") %>'></asp:TextBox>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="25%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Delete">
                                                                                <ItemTemplate>
                                                                                    <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton2" runat="server" OnClick="DeleteImageButton2_Click"
                                                                                        ToolTip="Delete" ImageUrl="../../../Images/icons/icon_delete.gif" />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" Width="7%" />
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>

                                        <cc1:TabPanel Width="100%" ID="TabPanel2" runat="server" HeaderText="Admission Setup">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs" style="width: 163px !important">
                                                    <li class="fancyTab">
                                                        <a><i class="fas  fa-bars" style="margin: 0px 2px !important"></i>&nbsp;Admission Document </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="tableContainer">
                                                        <div>
                                                            <div id="Div5" class="himssuHeader6WireBox pTop5  col-md-12"
                                                                runat="server">

                                                                <div class="himsBoxContent table-responsive">
                                                                    <asp:GridView ID="AdmissionDocumentGridView" runat="server" AutoGenerateColumns="False"
                                                                        EmptyDataText="No Records Found !!" DataKeyNames="DocumentId" CssClass="table table-striped table-bordered table-hover" Visible="false">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="2%">
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="IsSelectDocCheckBoxAll" onclick="CheckAll(this);" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="IsSelectDocCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Document Name">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="DocumentNameLabel" MaxLength="30" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("DocumentName") %>' />
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Remark">
                                                                                <ItemTemplate>
                                                                                    <asp:TextBox ID="RemarkTextBox" runat="server" SkinID="CustomWidthTextBox" Width="350px" Text='<%# Bind("Remark") %>'></asp:TextBox>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="20%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Is Mandatory Document">
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="IsMandatoryDocCheckBox" runat="server" Checked='<%# Bind("IsMandatory") %>' />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="10%" Wrap="True" />
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="CopyToOtherOrgPanel" runat="server">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs" style="width: 194px !important">
                                                    <li class="fancyTab">
                                                        <a><i class="fas  fa-bars" style="margin: 0px 1px !important"></i>&nbsp;Copy to Other Organization </a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <div class="tableContainer">
                                                        <div>
                                                            <div id="Div10" class="himssuHeader6WireBox pTop5  col-md-12"
                                                                runat="server">
                                                                <div class="himsBoxContent table-responsive">
                                                                    <div class="outerBox11 pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="Label2" Text="Admission Setup Fields" runat="server"></asp:Label>
                                                                        </div>
                                                                        <div class="select">
                                                                            <asp:CheckBox ID="AdmissionFieldSelectAllCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="AdmissionFieldSelectAllCheckBox_CheckedChanged" Text="Select All" />
                                                                        </div>
                                                                        <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" style="max-height: 175px">
                                                                            <asp:CheckBoxList ID="AdmissionSetupFieldCheckBoxList" runat="server">
                                                                                <asp:ListItem Value="1">Admission Setup</asp:ListItem>
                                                                                <asp:ListItem Value="2">Online Admission Criteria</asp:ListItem>
                                                                                <asp:ListItem Value="3">Admission Field</asp:ListItem>
                                                                                <%--<asp:ListItem Value="4">Admission Inquiry Field</asp:ListItem>--%>
                                                                                <asp:ListItem Value="5">Admission Fee</asp:ListItem>
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ApplyToOrgLabel" Text="Apply To Other Organization" runat="server" meta:resourcekey="StateNameLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList runat="server" ID="ApplyToOrgDropDownList" SkinID="CustomWidthDropDownList"
                                                                                OnSelectedIndexChanged="ApplyToOrgDropDownList_SelectedIndexChanged" AutoPostBack="true"
                                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop5  col-md-3" id="Div8" runat="server" visible="false">
                                                                        <div class="select">
                                                                            <asp:CheckBox ID="OrgClassCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="OrgClassCheckBox_CheckedChanged" Text="Select All" />
                                                                        </div>
                                                                        <div id="Div9" runat="server" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="OrgClassCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                        <asp:Button ID="ApplyToOrgClass" runat="server" SkinID="0" OnClick="ApplyToOrgClass_Click"
                                                                            Text="Apply for Org Class" CssClass="btn btn-apply" Style="margin-top: 15px" />
                                                                    </div>
                                                                    <asp:HiddenField ID="OrgBatchIdHiddenField" runat="server" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                    </cc1:TabContainer>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>

        </ContentTemplate>

    </asp:UpdatePanel>
    <asp:HiddenField runat="server" ID="hfPosition" Value="" />
    <%-- <script data-main="../../JavaScript/rjs/encrypt/admission-setup-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/admission-setup")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <%-- <script type="text/javascript">
        
document.getElementById('IsFatherDetailCheckBox').onchange = function () {
if (document.getElementById('IsFatherDetailCheckBox').checked==false) {
    $("#FatherDetailDiv").show();
}
else {
    $("#FatherDetailDiv").hide();
}

}
</script>--%>
    <script type="text/javascript">
        function IsFixStudentAcademicChange(obj) {
            var chkselect = false;
            if ($(obj).is(':checked'))
                chkselect = true;
            else
                chkselect = false;
            if (chkselect == true) {
                document.getElementById("<%=StudentAcademicForDiv.ClientID%>").style.display = "Block";
            }
            else if (chkselect == false) {
                document.getElementById("<%=StudentAcademicForDiv.ClientID%>").style.display = "none";
            }
    }
    function IsFamilyDetailCheckBoxChange(obj) {
        var chkselect = false;
        if ($(obj).is(':checked'))
            chkselect = true;
        else
            chkselect = false;
        if (chkselect == true) {
            document.getElementById("<%=FamilyRemarkDiv.ClientID%>").style.display = "Block";
        }
        else if (chkselect == false) {
            document.getElementById("<%=FamilyRemarkDiv.ClientID%>").style.display = "none";
        }
}
function IsFatherDetailCheckBoxChange(obj) {
    var chkselect = false;
    if ($(obj).is(':checked'))
        chkselect = true;
    else
        chkselect = false;
    if (chkselect == true) {
        document.getElementById("<%=FatherDetailDiv.ClientID%>").style.display = "Block";
    }
    else if (chkselect == false) {
        document.getElementById("<%=FatherDetailDiv.ClientID%>").style.display = "none";
    }
}
function IsMotherDetailCheckBoxChange(obj) {
    var chkselect = false;
    if ($(obj).is(':checked'))
        chkselect = true;
    else
        chkselect = false;
    if (chkselect == true) {
        document.getElementById("<%=IsMotherAcademicDiv.ClientID%>").style.display = "Block";
    }
    else if (chkselect == false) {
        document.getElementById("<%=IsMotherAcademicDiv.ClientID%>").style.display = "none";
    }
}
function IsGuardianCheckBoxChange(obj) {
    var chkselect = false;
    if ($(obj).is(':checked'))
        chkselect = true;
    else
        chkselect = false;
    if (chkselect == true) {
        document.getElementById("<%=GuardianDetailDiv.ClientID%>").style.display = "Block";
    }
    else if (chkselect == false) {
        document.getElementById("<%=GuardianDetailDiv.ClientID%>").style.display = "none";
    }
}
function IsReferenceDetailCheckBoxChange(obj) {
    var chkselect = false;
    if ($(obj).is(':checked'))
        chkselect = true;
    else
        chkselect = false;
    if (chkselect == true) {
        document.getElementById("<%=ReferenceDiv.ClientID%>").style.display = "Block";
    }
    else if (chkselect == false) {
        document.getElementById("<%=ReferenceDiv.ClientID%>").style.display = "none";
    }
}
function ReqiredCheckBoxChange(obj) {
    var chkselect = false;
    if ($(obj).is(':checked'))
        chkselect = true;
    else
        chkselect = false;
    if (chkselect == true) {
        document.getElementById("<%=RequiredDiv.ClientID%>").style.display = "Block";
    }
    else if (chkselect == false) {
        document.getElementById("<%=RequiredDiv.ClientID%>").style.display = "none";
    }
}
function Required2CheckBoxChange(obj) {
    var chkselect = false;
    if ($(obj).is(':checked'))
        chkselect = true;
    else
        chkselect = false;
    if (chkselect == true) {
        document.getElementById("<%=RequiredDiv1.ClientID%>").style.display = "Block";
    }
    else if (chkselect == false) {
        document.getElementById("<%=RequiredDiv1.ClientID%>").style.display = "none";
    }
}
function Required3CheckBoxChange(obj) {
    var chkselect = false;
    if ($(obj).is(':checked'))
        chkselect = true;
    else
        chkselect = false;
    if (chkselect == true) {
        document.getElementById("<%=RequiredDiv2.ClientID%>").style.display = "Block";
    }
    else if (chkselect == false) {
        document.getElementById("<%=RequiredDiv2.ClientID%>").style.display = "none";
    }
}

function OptionalSubjectShow() {
    if ($('#ctl00_CP_PermissionTabContainer_AdmissionCriteria_OptionalSubjectCheckBox').is(':checked'))
        $("#ctl00_CP_PermissionTabContainer_AdmissionCriteria_OptionalSubjectSelectDiv").show();
    else {
        $("#ctl00_CP_PermissionTabContainer_AdmissionCriteria_OptionalSubjectSelectDiv").hide();
        $("[id*=ctl00_CP_PermissionTabContainer_AdmissionCriteria_OptionalSubjectSelectAllCheckBox]").prop('checked', false);
        $("[id*=ctl00_CP_PermissionTabContainer_AdmissionCriteria_OptionalSubjectCheckBoxList] input").prop('checked', false);
    }
}

function OptionalSubjectSelect(obj) {
    if ($(obj).is(":checked")) {
        $("[id*=ctl00_CP_PermissionTabContainer_AdmissionCriteria_OptionalSubjectCheckBoxList] input").prop('checked', true);
    } else {
        $("[id*=ctl00_CP_PermissionTabContainer_AdmissionCriteria_OptionalSubjectCheckBoxList] input").prop('checked', false);
    }
}
    </script>
</asp:Content>
