<%@ page title="Family Details" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_StudentManagement_FamilyDetails, App_Web_os1ovij4" uiculture="auto" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="DPC" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <div>
                <asp:Panel ID="EmployeeSearchDetailPanel" runat="server" meta:resourcekey="EmployeeSearchDetailPanelResource1">
                    <div id="divContentPage" class="divcontentpagemargin">

                        <div class="dashBoardLeftCont">
                            <div class="himssuHeader3WireBox">
                                <table>
                                    <tr>
                                        <td>
                                            <div class="himsBoxContent">
                                                <div class="leftUlMenu">
                                                    <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="102"
                                                        Visible="true" runat="server" />
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>

                        <div class="whiteboxpaddingleft row">
                            <div class="himssuHeader1WireBox card card-box">
                                <div class="himsBoxHeader card-head" id="Div4" runat="server" visible="True">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText fLeft">
                                            <header>
                                                <i class="fal fa-graduation-cap"></i>
                                                <asp:Label ID="Label4" Text="Student Detail" runat="server" />
                                            </header>
                                        </div>
                                    </div>
                                    <div class="fRight mt-27 display-flex pagination">
                                        <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                            ID="FirstRecordImageButton" runat="server" OnClick="FirstRecordImageButton_Click">
                                                       <i class="fa fa-fast-backward"></i>
                                        </asp:LinkButton>
                                        <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                            ID="PreviousImageButton" runat="server" OnClick="PreviousImageButton_Click">
                                                       <i class="fa fa-play fa-rotate-180"></i>
                                        </asp:LinkButton>
                                        &nbsp; &nbsp;
                                                    <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                        &nbsp;  
                                        <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                        &nbsp;   
                                        <asp:Label ID="ofLabel" Text="of" runat="server" />
                                        &nbsp;    
                                        <asp:Label ID="TotalRecord" runat="server" />
                                        &nbsp;
                                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                                        ID="NextImageButtom" runat="server" OnClick="NextImageButton_Click">
                                                       <i class="fa fa-play"></i>
                                                    </asp:LinkButton>
                                        <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                            ID="LastRecordImageButton" runat="server" OnClick="LastRecordImageButton_Click">
                                                       <i class="fa fa-fast-forward"></i>
                                        </asp:LinkButton>
                                        &nbsp;  &nbsp;  &nbsp;
                                                   <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                       CssClass="btn btn-back fas" Text="&#xf30a; Back" />
                                        &nbsp; 
                                    </div>
                                </div>
                                <div class="himsBoxContent">
                                    <asp:Panel ID="DetailPanel" runat="Server">
                                        <div class="contentHolder">
                                            <div class="topdisplayContainer p-l-10">
                                                <table>
                                                    <tr>
                                                        <td>
                                                            <div class="himsDisplayBox">
                                                                <div style="margin-top: 1px">
                                                                </div>
                                                                <div class="himsBoxContent messageMessage">
                                                                    <div class="topdisplayContainer">
                                                                        <table class="fLeft">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Label ID="CodeLabelL" runat="server" Text="ID No :" Font-Bold="true"></asp:Label>
                                                                                    &nbsp;&nbsp;
                                                                                    <asp:Label ID="CodeLabelT" runat="server" Text=""></asp:Label>
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Label ID="NameLabelL" runat="server" Text="Name :" Font-Bold="true"></asp:Label>
                                                                                    &nbsp;&nbsp;
                                                                                    <asp:Label ID="NameLabelT" runat="server" Text=""></asp:Label>
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Label ID="ClassLabelL" runat="server" Text="Class :" Font-Bold="true"></asp:Label>
                                                                                    &nbsp;&nbsp;
                                                                                    <asp:Label ID="ClassLabelT" runat="server" Text=""></asp:Label>
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Label ID="RollNoLabelL" runat="server" Text="Roll No. :" Font-Bold="true"></asp:Label>
                                                                                    &nbsp;&nbsp;
                                                                                    <asp:Label ID="RollNoLabelT" runat="server" Text=""></asp:Label>
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                                <td>&nbsp;
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <div class="cBoth">
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxFooter">
                                                                    <div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div class="navgraybackground">
                                                <ul class="nav nav-tabs">
                                                    <li>
                                                        <a href="#tab_1">
                                                            <asp:Button Text="&#xf044; General" ID="StudentMasterButton" CssClass="transparenttab fas" OnClick="StudentMasterButton_Click"
                                                                SkinID="0" runat="server" />
                                                        </a>
                                                    </li>
                                                    <li><a>
                                                        <asp:Button Text="&#xf19d; Admission" ID="AdmissionButton" CssClass="transparenttab fas" OnClick="Admission_Click"
                                                            SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li><a>
                                                        <asp:Button Text="&#xf1fe; Demographic" ID="DemographicButton" CssClass="transparenttab fas" OnClick="Demographic_Click"
                                                            SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li><a>
                                                        <asp:Button Text="&#xf095; Communication" ID="CommunicationButton" CssClass="transparenttab fa" OnClick="Communication_Click"
                                                            SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li class="active"><a>
                                                        <asp:Button Text="&#xf0c0; Family" ID="FamilyButton" CssClass="transparenttab fas" OnClick="FamilyButton_Click"
                                                            SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li><a>
                                                        <asp:Button Text="&#xf21e; Health" ID="StudentHealth" CssClass="transparenttab fas" OnClick="StudentHealth_Click"
                                                            SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li><a>
                                                        <asp:Button Text="&#xf15b; Documents" ID="DocumentsButton" CssClass="transparenttab fa" SkinID="0" OnClick="Documents_Click"
                                                            runat="server" />
                                                    </a></li>
                                                    <li><a>
                                                        <asp:Button Text="&#xf1c5; Other Photo" ID="OtherPhotoButton" CssClass="transparenttab fas" SkinID="0" OnClick="OtherPhoto_Click"
                                                            runat="server" />
                                                    </a></li>
                                                </ul>
                                            </div>
                                            <table style="width: 100%">
                                                <tr>
                                                    <td>
                                                        <asp:Panel ID="PanEnable" runat="server" meta:resourcekey="PanEnableResource1">
                                                            <asp:PlaceHolder ID="UserControlContainer" runat="server"></asp:PlaceHolder>
                                                            <div class="himssuHeader1WireBox">
                                                                <div class="himsBoxContent card-body">
                                                                    <div class="contentHolder">
                                                                        <div class="col-md-12 padd-0">
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherNameLabel1" runat="server" Text="Father Name" meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FatherNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="NameTextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherDateOfBirthLabel1" runat="server" Text="Father Date of Birth"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <DPC:DatePickerControl ID="FatherDateOfBirthDatePickerControl" runat="server" DisplayDatePicker="true" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherOccupationLabel" runat="server" Text="Father Occupation">
                                                                                    </asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <div class="fLeft pRight5 display-flex">
                                                                                        <acc:AutoCompleteControl ID="FatherOccupationTextBox" runat="server" MinimumPrefixLength="2"
                                                                                            MaxLength="50" ContextKey="sCommon.Occupation" AutoPostBack="true" DisplayLoadingStatus="true"
                                                                                            SkinID="CustomWidthTextBox" CssClass="form-control" ValidateOnTextChanged="false" />
                                                                                        <asp:ImageButton SkinID="FindImage" ToolTip="Search" ID="FatherOccupationImageButton"
                                                                                            runat="server" OnClick="FatherOccupationImageButton_Click" ImageUrl="../../Images/icons/icon_find.gif" />
                                                                                        <asp:HiddenField ID="FatherOccupationHiddenField" runat="server" />
                                                                                    </div>
                                                                                </div>
                                                                            </div>

                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherQualificationLabel6" runat="server" Text="Father Qualification"
                                                                                        meta:resourcekey="QualificationLabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5 display-flex">
                                                                                    <acc:AutoCompleteControl ID="FatherQualificationAutoCompleteControl" runat="server"
                                                                                        MinimumPrefixLength="2" MaxLength="50" ContextKey="Hrm.Qualification" AutoPostBack="true"
                                                                                        DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" CssClass="form-control" ValidateOnTextChanged="false" />
                                                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Search" ID="FatherQualificationImageButton"
                                                                                        ImageUrl="~/Images/icons/search.png" runat="server" OnClick="FatherQualificationImageButton_Click" />
                                                                                    <asp:HiddenField ID="FatherQualificationHiddenField" runat="server" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherContactNoLabel" runat="server" Text="Father Contact No"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FatherContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherMailLabel" runat="server" Text="Father Mail"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FatherMailTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>


                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherIncomeLabel" runat="server" Text="Father Annual Income"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FatherIncomeTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="100" onblur="return ValidateNumericRangeValue(this,2147483647)"
                                                                                        onKeypress="return isNumberKey(this)" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop15 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="FatherExStudentCheckBox" runat="server"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Text="Father Ex Student"></asp:CheckBox>
                                                                                    <%-- <asp:Label ID="Label1" runat="server" Text="Father ExStudent"></asp:Label>--%>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="Label2" runat="server" Text="Father Pass Out Year"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FatherPassOutYearTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="20"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherOfficeContactNoLabel" runat="server" Text="Father Office Contact No"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FatherOfficeContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="50"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherOfficeAddressLabel2" runat="server" Text="Father Office Address"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FatherOfficeAddressTextBox" runat="server" SkinID="MultiLineTextBox" TextMode="MultiLine"
                                                                                        Height="40px" MaxLength="500" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherDesignationLabel" runat="server" Text="Father Designation"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FatherDesignationTextBox" runat="server" SkinID="MultiLineTextBox"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherOrganizationLabel" runat="server" Text="Father Organization"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FatherOrganizationTextBox" runat="server" SkinID="MultiLineTextBox"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="FatherAadharNoLabel" runat="server" Text="Father Aadhaar No"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="FatherAadharNoTextBox" placeholder="0000 0000 0000" onkeypress="return isNumberKeys(event)" MaxLength="14" runat="server" SkinID="CustomWidthTextBox"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-12 padd-0 mt2">
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherNameLabel1" runat="server" Text="Mother Name" meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="MotherNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="NameTextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherDateOfBirthLabel1" runat="server" Text="Mother Date of Birth"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <DPC:DatePickerControl ID="MotherDateOfBirthDatePickerContro" runat="server" DisplayDatePicker="true" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherOccupationLabel" runat="server" Text="Mother Occupation">
                                                                                    </asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5  ">
                                                                                    <div class="fLeft pRight5 display-flex">
                                                                                        <acc:AutoCompleteControl ID="MotherOccupationTextBox" runat="server" MinimumPrefixLength="2"
                                                                                            MaxLength="50" ContextKey="sCommon.Occupation" AutoPostBack="true" DisplayLoadingStatus="true"
                                                                                            SkinID="CustomWidthTextBox" CssClass="form-control" ValidateOnTextChanged="false" />
                                                                                        <asp:ImageButton SkinID="FindImage" ToolTip="Search" ID="MotherOccupationImageButton"
                                                                                            ImageUrl="~/Images/icons/icon_find.gif" runat="server" OnClick="MotherOccupationImageButton_Click" />
                                                                                        <asp:HiddenField ID="MotherOccupationHiddenField" runat="server" />
                                                                                    </div>
                                                                                </div>
                                                                            </div>

                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherQualificationLabel6" runat="server" Text="Mother Qualification"
                                                                                        meta:resourcekey="QualificationLabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5 display-flex">
                                                                                    <acc:AutoCompleteControl ID="MotherQualificationAutoCompleteControl" runat="server"
                                                                                        MinimumPrefixLength="2" MaxLength="50" ContextKey="Hrm.Qualification" AutoPostBack="true"
                                                                                        DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" CssClass="form-control" ValidateOnTextChanged="false" />
                                                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Search" ID="MotherQualificationImageButton"
                                                                                        ImageUrl="~/Images/icons/icon_find.gif" runat="server" OnClick="MotherQualificationImageButton_Click" />
                                                                                    <asp:HiddenField ID="MotherQualificationHiddenField" runat="server" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherContactNoLabel" runat="server" Text="Mother Contact No"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="MotherContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherMailLabel" runat="server" Text="Mother Mail"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="MotherMailTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherOfficeContactNoLabel" runat="server" Text="Mother Office Contact No"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="MotherOfficeContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="50"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherOfficeAddressLabel2" runat="server" Text="Mother Office Address"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="MotherOfficeAddressTextBox" runat="server" TextMode="MultiLine" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="500" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherDesignationLabel" runat="server" Text="Mother Designation"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="MotherDesignationTextBox" runat="server" SkinID="MultiLineTextBox"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherOrganizationLabel" runat="server" Text="Mother Organization"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="MotherOrganizationTextBox" runat="server" SkinID="MultiLineTextBox"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherIncomeLabel" runat="server" Text="Mother Annual Income"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="MotherIncomeTextBox" runat="server" onblur="return ValidateNumericRangeValue(this,2147483647)"
                                                                                        onKeypress="return isNumberKey(this)" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop15 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:CheckBox ID="MotherExStudentCheckBox" runat="server" SkinID="CustomWidthCheckBox"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Text="Mother Ex Student"></asp:CheckBox>
                                                                                    <%-- <asp:Label ID="Label3" runat="server" Text="Mother ExStudent"></asp:Label>--%>
                                                                                </div>
                                                                            </div>
                                                                            <div class="cBoth"></div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="Label5" runat="server" Text="Mother Pass Out Year"></asp:Label>
                                                                                    <asp:TextBox ID="MotherPassOutyearTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="20"></asp:TextBox>
                                                                                </div>
                                                                            </div>


                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MarriageAnniversaryDateLabel" runat="server" Text="Marriage Anniversary Date"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <DPC:DatePickerControl ID="MarriageAnniversaryDateDatePickerControl" runat="server" DisplayDatePicker="true" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="MotherAadharNoLabel" runat="server" Text="Mother Aadhaar No"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:TextBox ID="MotherAadharNoTextBox" placeholder="0000 0000 0000" MaxLength="14" runat="server" SkinID="CustomWidthTextBox"
                                                                                        onmouseleave="showHideTooltip()" onkeypress="return isNumberKeys(event)" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="cBoth">
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelationNameLabel1" runat="server" Text="Relation Name"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:TextBox ID="RelationNameTextBox1" runat="server" SkinID="CustomWidthTextBox"
                                                                                    MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                    meta:resourcekey="NameTextBoxResource1"></asp:TextBox>
                                                                            </div>
                                                                        </div>

                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelativeNameLabel1" runat="server" Text="Relative Name" meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:TextBox ID="RelativeNameTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                    MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                    meta:resourcekey="NameTextBoxResource1"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelativeDateOfBirthLabel1" runat="server" Text="Relative Date of Birth"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <DPC:DatePickerControl ID="RelativeDateOfBirthDatePickerContro" runat="server" DisplayDatePicker="true" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelativeOccupationLabel" runat="server" Text="Relative Occupation">
                                                                                </asp:Label>
                                                                            </div>

                                                                            <div class="fLeft pRight5 display-flex">
                                                                                <acc:AutoCompleteControl ID="RelativeOccupationTextBox" runat="server" MinimumPrefixLength="2"
                                                                                    MaxLength="50" ContextKey="sCommon.Occupation" AutoPostBack="true" DisplayLoadingStatus="true"
                                                                                    SkinID="CustomWidthTextBox" CssClass="form-control" ValidateOnTextChanged="false" />
                                                                                <asp:ImageButton SkinID="FindImage" ToolTip="Search" ID="RelativeOccupationImageButton"
                                                                                    ImageUrl="~/Images/icons/icon_find.gif" runat="server" OnClick="RelativeOccupationImageButton_Click" />
                                                                                <asp:HiddenField ID="RelativeOccupationHiddenField" runat="server" />
                                                                            </div>

                                                                        </div>

                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelativeQualificationLabel6" runat="server" Text="Relative Qualification"
                                                                                    meta:resourcekey="QualificationLabelResource1"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5 display-flex">
                                                                                <acc:AutoCompleteControl ID="RelativeQualificationAutoCompleteControl" runat="server"
                                                                                    MinimumPrefixLength="2" MaxLength="50" ContextKey="Hrm.Qualification" AutoPostBack="true"
                                                                                    DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" CssClass="form-control" ValidateOnTextChanged="false" />
                                                                                <asp:ImageButton SkinID="FindImage" ToolTip="Search" ID="RelativeQualificationImageButton"
                                                                                    ImageUrl="~/Images/icons/icon_find.gif" runat="server" OnClick="RelativeQualificationImageButton_Click" />
                                                                                <asp:HiddenField ID="RelativeQualificationHiddenField" runat="server" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelativeContactNoLabel" runat="server" Text="Relative Contact No"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:TextBox ID="RelativeContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                    MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelativeMailLabel" runat="server" Text="Relative Mail"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:TextBox ID="RelativeMailTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                    MaxLength="100" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                            </div>
                                                                        </div>

                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelativeOfficeAddressLabel2" runat="server" Text="Relative Office Address"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:TextBox ID="RelativeOfficeAddressTextBox" runat="server" TextMode="MultiLine" SkinID="CustomWidthTextBox"
                                                                                    MaxLength="500" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                            </div>
                                                                        </div>

                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelativeDesignationLabel" runat="server" Text="Relative Designation"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:TextBox ID="RelativeDesignationTextBox" runat="server" SkinID="MultiLineTextBox"
                                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelativeOrganizationLabel" runat="server" Text="Relative Organization"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:TextBox ID="RelativeOrganizationTextBox" runat="server" SkinID="MultiLineTextBox"
                                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                            </div>
                                                                        </div>

                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="RelativeIncomeLabel2" runat="server" Text="Relative Annual Income"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:TextBox ID="RelativeIncomeTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                    MaxLength="100" onblur="return ValidateNumericRangeValue(this,2147483647)"
                                                                                    onKeypress="return isNumberKey(this)" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop15 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="RelativeExStudentCheckBox" runat="server"
                                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Text="Relative Ex Student"></asp:CheckBox>
                                                                                <%--    <asp:Label ID="Label6" runat="server" Text="Relative ExStudent"></asp:Label>--%>
                                                                            </div>

                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="Label7" runat="server" Text="Relative Pass Out Year"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:TextBox ID="RelativePassOutYearTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="20"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop5 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="LiveWithLabel" runat="server" Text="Live With"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:DropDownList runat="server" ID="LiveWithDropDownList" SkinID="CustomWidthDropDownList"
                                                                                    onmouseleave="showHideTooltip()" CssClass="form-control">
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div id="DivForChangeLog" runat="server" visible="false">
                                                                            <div class="outerBox11 pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="IsEnableChangeLogLabel" runat="server" SkinID="MandatoryLabel" Text="Change Remark"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight15">
                                                                                    <asp:TextBox ID="IsEnableChangeLogTextBox" runat="server" SkinID="0"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" TextMode="MultiLine"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                        </div>

                                                                        <div class="outerBox11 pTop15 col-md-12" style="padding-bottom: 20px">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="Label1" runat="server" Text="Student Custom Fields">
                                                                                </asp:Label>
                                                                            </div>
                                                                            <div class="table-responsive padd-5">
                                                                                <asp:GridView runat="server" ID="StudentCriteriaFormGridView" AutoGenerateColumns="False"
                                                                                    EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="StudentCriteriaFormGridView_RowDataBound"
                                                                                    AllowPaging="false" DataKeyNames="Id,FieldTypeId,FieldList,IsFieldMandatory,FieldData,AutoId" ShowHeader="true"
                                                                                    CssClass="table table-striped table-bordered table-hover more" Oncol-lg-12DataBound="StudentCriteriaFormGridView_col-lg-12DataBound">
                                                                                    <Columns>
                                                                                        <asp:BoundField DataField="FieldGroup" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                                        <asp:BoundField DataField="FieldTitle" ItemStyle-Width="40%" HeaderStyle-HorizontalAlign="Left" />
                                                                                        <asp:TemplateField HeaderText="Mandatory" ItemStyle-Width="5%" SortExpression="IsFieldMandatory"
                                                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="IsFieldMandatoryLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsFieldMandatory").ToString().ToUpper()=="TRUE"?"*":"" %>' class="text-red font-23"></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField ItemStyle-Width="40%" HeaderText="" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>

                                                                                                <asp:DropDownList ID="FieldTypeDropDownList" runat="server" Visible="false" CssClass="form-control" Width="98%"></asp:DropDownList>
                                                                                                <asp:TextBox ID="FieldTypeTextBox" runat="server" Visible="false" TextMode="MultiLine" CssClass="form-control" Height="50px"></asp:TextBox>

                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                    </Columns>
                                                                                    <PagerSettings Visible="False" />
                                                                                </asp:GridView>

                                                                            </div>
                                                                        </div>

                                                                        <div class="cBoth">
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <div class="spacer">
                                                            <img src="../../Images/spacer.gif" />
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>


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

                    </div>
                </asp:Panel>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/family-details-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/family-details")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script>
        function isNumberKeys(evt) {
            var charcode = (evt.which) ? evt.which : event.keycode;
            if ((charcode >= 48 && charcode <= 57) || charcode == 32)
                return true;
            return false;
        }
    </script>
    <style>
        #ctl00_CP_StudentCriteriaFormGridView tr:first-child {
            display: none;
        }

        #StudentCriteriaFormGridView.more {
            font-size: 16px;
            color: #252422;
        }
    </style>
</asp:Content>
