<%@ page title="Communication" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_StudentManagement_Communication, App_Web_p0df5im2" uiculture="auto" meta:resourcekey="PageResource1" 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="Date" %>
<%@ 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>
            <div>
                <asp:UpdatePanel ID="DetailsUpdatePanel" runat="server">
                    <ContentTemplate>
                        <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" style="width: 100%">
                                                            <table>
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsDisplayBox">
                                                                            <div>
                                                                            </div>
                                                                            <div class="himsBoxContent messageMessage">
                                                                                <div class="topdisplayContainer p-l-10">
                                                                                    <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>
                                                                            </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 class="active"><a>
                                                                    <asp:Button Text="&#xf095;  Communication" ID="CommunicationButton" CssClass="transparenttab fa" OnClick="Communication_Click"
                                                                        SkinID="0" runat="server" />
                                                                </a></li>
                                                                <li><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>
                                                        <div>
                                                            <div>
                                                                <div class="pTop5">
                                                                    <asp:Panel ID="ContactPanel" runat="server" meta:resourcekey="PanEnableResource1">
                                                                        <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
                                                                        <div class="himssuHeader1WireBox">
                                                                            <div class="himsBoxContent card-body">
                                                                                <div class="contentHolder pTop15">
                                                                                    <div class="col-md-3 outerbox pTop5">

                                                                                        <div class="controlLabelWidth">
                                                                                            <asp:Label ID="ParentContactNoLabel" runat="server" Text="Parent Contact No" meta:resourcekey="ParentContactNoLabelResource1"></asp:Label>
                                                                                        </div>

                                                                                        <asp:TextBox ID="ParentContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                            MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                            meta:resourcekey="ParentContactNoTextBoxResource1"></asp:TextBox>
                                                                                        <br />
                                                                                        <asp:Label ID="Label1" runat="server" ForeColor="BlueViolet" Text="(Used for getting SMS Alert)"></asp:Label>

                                                                                    </div>
                                                                                    <div class="col-md-3 outerbox pTop5">
                                                                                        <div class="controlLabelWidth">
                                                                                            <asp:Label ID="ParentEmailLabel" runat="server" Text="Parent Email" meta:resourcekey="ParentEmailLabelResource1"></asp:Label>
                                                                                        </div>

                                                                                        <asp:TextBox ID="ParentEmailTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                            MaxLength="100" AutoPostBack="True" OnTextChanged="ParentEmailTextBox_TextChanged"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ParentEmailTextBoxResource1"></asp:TextBox>
                                                                                        <br />
                                                                                        <asp:Label ID="Label2" runat="server" ForeColor="BlueViolet" Text="(Used for getting Email Alert)"></asp:Label>

                                                                                    </div>
                                                                                    <div class="col-md-3 outerbox pTop5">
                                                                                        <div class="text-left">
                                                                                            <asp:CheckBox ID="BlockAllAlertCheckBox" runat="server" Text="Block All Alert" />
                                                                                        </div>
                                                                                        <%--  <div class="fLeft pLeft5">
                                                                                            <asp:Label ID="MajorIllnessLabel" runat="server" Text="Major Illness"></asp:Label>
                                                                                        </div>--%>
                                                                                    </div>
                                                                                    <div class="cBoth"></div>
                                                                                    <div class="col-md-3 outerbox pTop15">
                                                                                        <div class="controlLabelWidth">
                                                                                            <asp:Label ID="StudentContactNoLabel" runat="server" Text="Student Contact No" meta:resourcekey="StudentContactNoLabelResource1"></asp:Label>
                                                                                        </div>

                                                                                        <asp:TextBox ID="StudentContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                            MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                            meta:resourcekey="StudentContactNoTextBoxResource1"></asp:TextBox>

                                                                                    </div>
                                                                                    <div class="col-md-3 outerbox pTop15">
                                                                                        <div class="controlLabelWidth">
                                                                                            <asp:Label ID="StudentEmailLabel" runat="server" Text="Student Email" meta:resourcekey="StudentEmailLabelResource1"></asp:Label>
                                                                                        </div>

                                                                                        <asp:TextBox ID="StudentEmailTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                            MaxLength="100" AutoPostBack="True" OnTextChanged="StudentEmailTextBox_TextChanged"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="StudentEmailTextBoxResource1"></asp:TextBox>

                                                                                    </div>
                                                                                    <div class="col-md-3 outerbox pTop15">
                                                                                        <div class="controlLabelWidth">
                                                                                            <asp:Label ID="Label3" runat="server" Text="Distance From School" meta:resourcekey="StudentEmailLabelResource1"></asp:Label>
                                                                                        </div>
                                                                                        <asp:TextBox ID="PresentDistanceFromSchoolTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                            onkeypress="javascript:return MaskDecimal(event,10,2)" onblur="javascript:return fnValidateDecimal(this,10,2)"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="PresentDistanceFromSchoolTextBoxResource1"></asp:TextBox>
                                                                                    </div>
                                                                                    <div class="cBoth"></div>
                                                                                    <div class="col-md-3 outerbox pTop5">
                                                                                        <div class="controlLabelWidth">
                                                                                            <asp:Label ID="WhatsAppContactNoLabel" runat="server" Text="WhatsApp Contact No" meta:resourcekey="StudentContactNoLabelResource1"></asp:Label>
                                                                                        </div>
                                                                                        <asp:TextBox ID="WhatsAppContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                            MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                            meta:resourcekey="StudentContactNoTextBoxResource1"></asp:TextBox>
                                                                                    </div>

                                                                                     <div class="cBoth"></div>
                                                                                    <div runat="server" id="notediv"  class="col-md-12 outerbox pTop5">
                                                                                         <div style="color: #FF7F7F" class="alert   alert-info">
                                                                                           &nbsp; * Don't use special characters in student communication details. You may face redirection issues to Payment Gateway while paying the student's fee.
                                                                                         </div>
                                                                                    </div>

                                                                                </div>

                                                                                <div class="col-md-12 pTop15">

                                                                                <div class="gridHeaderBG pTop5 offset-md-3 col-md-3">
                                                                                    <div class="fLeft">

                                                                                        <asp:Label ID="LocalAddressLabel" runat="server" Text="Local Address" Font-Bold="True"
                                                                                            meta:resourcekey="LocalAddressLabelResource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="fLeft pLeft10 gHeaderNormal pTop5">
                                                                                        <asp:Label ID="LALabel" runat="server" Text="(LA)" Font-Bold="False" meta:resourcekey="LALabelResource1"></asp:Label>
                                                                                    </div>
                                                                                </div>

                                                                                <div class="gridHeaderBG pTop5 col-md-3">
                                                                                    <div class="fLeft">
                                                                                        <asp:Label ID="PermanentAddressLabel" runat="server" Text="Permanent Address" Font-Bold="True"
                                                                                            meta:resourcekey="PermanentAddressLabelResource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="display-flex pTop5">
                                                                                        <div class="fLeft pLeft10 gHeaderNormal">
                                                                                            <asp:Label ID="CopyLALabel" runat="server" Text="Copy LA" Font-Bold="False" meta:resourcekey="CopyLALabelResource1"></asp:Label>
                                                                                        </div>
                                                                                        <div class="cursorHand">
                                                                                            &nbsp;&nbsp;&nbsp;
                                                                                                    <asp:ImageButton ID="imgCopyLocalToPermanent" runat="server" ImageUrl="../../Images/icons/copy.png"
                                                                                                        ToolTip="Copy Local Address" OnClick="imgCopyLocalToPermanent_Click" meta:resourcekey="imgCopyLocalToPermanentResource1" />
                                                                                        </div>
                                                                                    </div>

                                                                                </div>


                                                                                <div class="gridHeaderBG pTop5 col-md-3">
                                                                                    <div class="fLeft">
                                                                                        <asp:Label ID="EmergencyAddressLabel" runat="server" Text="Emergency Address" Font-Bold="True"
                                                                                            meta:resourcekey="EmergencyAddressLabelResource1"></asp:Label>
                                                                                    </div>
                                                                                    <div class="display-flex pTop5">
                                                                                        <div class="fLeft pLeft10 gHeaderNormal">
                                                                                            <asp:Label ID="CopyEmergencyLALabel" runat="server" Text="Copy LA" Font-Bold="False"
                                                                                                meta:resourcekey="CopyEmergencyLALabelResource1"></asp:Label>
                                                                                        </div>
                                                                                        <div class="cursorHand">
                                                                                            &nbsp;&nbsp;&nbsp; 
                                                                                                    <asp:ImageButton ID="imgCopyLocalToEmergency" runat="server" ImageUrl="../../Images/icons/copy.png"
                                                                                                        ToolTip="Copy Local Address" OnClick="imgCopyLocalToEmergency_Click" meta:resourcekey="imgCopyLocalToEmergencyResource1" />
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>

                                                                            <div class="col-md-12">
                                                                                <div class="formLabel fa arrowicon pTop5 col-md-3">
                                                                                    <asp:Label ID="Address1Label" runat="server" Text="Address 1" meta:resourcekey="Address1LabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="LocalAddress1TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="150" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="LocalAddress1TextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="PermanentAddress1TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="PermanentAddress1TextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="EmergencyAddress1TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="EmergencyAddress1TextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-12">
                                                                                <div class="formLabel fa arrowicon col-md-3 pTop5">
                                                                                    <asp:Label ID="Address2Label" runat="server" Text="Address 2" meta:resourcekey="Address2LabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="LocalAddress2TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="LocalAddress2TextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="PermanentAddress2TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="PermanentAddress2TextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="EmergencyAddress2TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="EmergencyAddress2TextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-12">
                                                                                <div class="formLabel fa arrowicon col-md-3 pTop5">
                                                                                    <asp:Label ID="Address3Label" runat="server" Text="Address 3" meta:resourcekey="Address3LabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="LocalAddress3TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="LocalAddress3TextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="PermanentAddress3TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="PermanentAddress3TextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="EmergencyAddress3TextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="EmergencyAddress3TextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-12">
                                                                                <div class="formLabel fa arrowicon col-md-3 pTop5">
                                                                                    <asp:Label ID="CityLabel" runat="server" Text="City" meta:resourcekey="CityLabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <acc:AutoCompleteControl ID="LocalAddressCityTextBox" runat="server" MinimumPrefixLength="2"
                                                                                        MaxLength="100" ContextKey="Common.City" AutoPostBack="true" OnTextChanged="LocalAddressCityTextBox_TextChange"
                                                                                        DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <acc:AutoCompleteControl ID="PermanentAddressCityTextBox" runat="server" MinimumPrefixLength="2"
                                                                                        MaxLength="100" ContextKey="Common.City" AutoPostBack="true" OnTextChanged="PermanentAddressCityTextBox_TextChange"
                                                                                        DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <acc:AutoCompleteControl ID="EmergencyAddressCityTextBox" runat="server" MinimumPrefixLength="2"
                                                                                        MaxLength="100" ContextKey="Common.City" AutoPostBack="true" OnTextChanged="EmergencyAddressCityTextBox_TextChange"
                                                                                        DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-12">
                                                                                <div class="formLabel fa arrowicon col-md-3 pTop5">
                                                                                    <asp:Label ID="StateLabel" runat="server" Text="State" meta:resourcekey="StateLabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <acc:AutoCompleteControl ID="LocalAddressStateTextBox" runat="server" MinimumPrefixLength="2"
                                                                                        MaxLength="100" ContextKey="Common.State" AutoPostBack="true" OnTextChanged="LocalAddressStateTextBox_TextChange"
                                                                                        DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <acc:AutoCompleteControl ID="PermanentAddressStateTextBox" runat="server" MinimumPrefixLength="2"
                                                                                        MaxLength="100" ContextKey="Common.State" AutoPostBack="true" OnTextChanged="PermanentAddressStateTextBox_TextChange"
                                                                                        DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <acc:AutoCompleteControl ID="EmergencyAddressStateTextBox" runat="server" MinimumPrefixLength="2"
                                                                                        MaxLength="100" ContextKey="Common.State" AutoPostBack="true" OnTextChanged="EmergencyAddressStateTextBox_TextChange"
                                                                                        DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-12">
                                                                                <div class="formLabel fa arrowicon col-md-3 pTop5">
                                                                                    <asp:Label ID="CountryLabel" runat="server" Text="Country" meta:resourcekey="CountryLabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <acc:AutoCompleteControl ID="LocalAddressCountryTextBox" runat="server" MinimumPrefixLength="2"
                                                                                        MaxLength="100" ContextKey="Common.Country" AutoPostBack="true" DisplayLoadingStatus="true"
                                                                                        SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <acc:AutoCompleteControl ID="PermanentAddressCountryTextBox" runat="server" MinimumPrefixLength="2"
                                                                                        MaxLength="100" ContextKey="Common.Country" AutoPostBack="true" DisplayLoadingStatus="true"
                                                                                        SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <acc:AutoCompleteControl ID="EmergencyAddressCountryTextBox" runat="server" MinimumPrefixLength="2"
                                                                                        MaxLength="100" ContextKey="Common.Country" AutoPostBack="true" DisplayLoadingStatus="true"
                                                                                        SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-12">
                                                                                <div class="formLabel fa arrowicon col-md-3 pTop5">
                                                                                    <asp:Label ID="PinCodeLabel" runat="server" Text="PIN Code" meta:resourcekey="PinCodeLabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="LocalAddressPinCodeTextBox" runat="server" CssClass="inputBoxBig fLeft"
                                                                                        SkinID="CustomWidthTextBox" MaxLength="20" onmouseleave="showHideTooltip()"
                                                                                        onmouseenter="showHideTooltip()" meta:resourcekey="LocalAddressPinCodeTextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="PermanentAddressPinCodeTextBox" runat="server" CssClass="inputBoxBig fLeft"
                                                                                        SkinID="CustomWidthTextBox" MaxLength="20" onmouseleave="showHideTooltip()"
                                                                                        onmouseenter="showHideTooltip()" meta:resourcekey="PermanentAddressPinCodeTextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="EmergencyAddressPinCodeTextBox" runat="server" CssClass="inputBoxBig fLeft"
                                                                                        SkinID="CustomWidthTextBox" MaxLength="20" onmouseleave="showHideTooltip()"
                                                                                        onmouseenter="showHideTooltip()" meta:resourcekey="EmergencyAddressPinCodeTextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-12 p-b-20">
                                                                                <div class="formLabel fa arrowicon col-md-3 pTop5">
                                                                                    <asp:Label ID="PhoneHouseOfficeLabel" runat="server" Text="ContactNo" meta:resourcekey="PhoneHouseOfficeLabelResource1"></asp:Label>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="LocalAddressContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="LocalAddressPhoneTextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="PermanentAddressContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="PermanentAddressPhoneTextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                                <div class="borderLeft col-md-3 pTop5">
                                                                                    <asp:TextBox ID="EmergencyAddressContactNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                                                        MaxLength="50" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                        meta:resourcekey="EmergencyAddressPhoneTextBoxResource1"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox pTop15 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <%--<asp:Label ID="IsTFWSLabel" runat="server" Text="TFWS"></asp:Label>--%>

                                                                                    <asp:CheckBox ID="IsStopApplicationAccessCheckBox" runat="server" Text="Stop Application Access" />
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5 col-md-3">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="StudentCustomAlertLabel" runat="server" Text="Student Custom Alert"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight15">
                                                                                    <asp:TextBox ID="StudentCustomAlertTextBox" runat="server" SkinID="0"
                                                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" TextMode="MultiLine"></asp:TextBox>
                                                                                </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="Label6" runat="server" Text="Student Contact Details">
                                                                                    </asp:Label>
                                                                                </div>
                                                                                <div style="float: right">
                                                                                    <asp:Button ID="AddButton" runat="server" CssClass="btn btn-add fas" Text="&#xf067; Add" SkinID="0" EnableViewState="true" OnClick="AddButton_Click" />
                                                                                    <asp:HiddenField runat="server" ID="ButtonIdHiddenField" />
                                                                                </div>
                                                                                <div class="col-md-1" style="float: right">
                                                                                    <asp:DropDownList ID="AddRowsToGridDropDownList" SkinID="CustomWidthDropDownList" style="padding-left:0px"
                                                                                        CssClass="form-control" runat="server">
                                                                                        <asp:ListItem Text="1" Value="1" 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>
                                                                                </div>
                                                                                <div class="table-responsive padd-5">
                                                                                    <asp:GridView runat="server" ID="StudentContactGridView" AutoGenerateColumns="False"
                                                                                        EmptyDataText="No records available for the seacrh criteria!"
                                                                                        AllowPaging="false" ShowHeader="true" DataKeyNames="AutoId"
                                                                                        CssClass="table table-striped table-bordered table-hover more" Oncol-lg-12DataBound="StudentCriteriaFormGridView_col-lg-12DataBound">
                                                                                        <Columns>
                                                                                            <asp:TemplateField ItemStyle-Width="30%" HeaderText="Contact Person" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                                <ItemTemplate>
                                                                                                    <asp:TextBox ID="ContactPersonTextBox" runat="server" CssClass="form-control" MaxLength="100" Text='<%#Bind("ContactPerson")%>'></asp:TextBox>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField ItemStyle-Width="30%" HeaderText="Country Code" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                                <ItemTemplate>
                                                                                                    <asp:TextBox ID="CountryCodeTextBox" runat="server" CssClass="form-control" MaxLength="10" Text='<%#Bind("CountryCode")%>'></asp:TextBox>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField ItemStyle-Width="30%" HeaderText="Contact No." ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                                <ItemTemplate>
                                                                                                    <asp:TextBox ID="ContactNoTextBox" runat="server" CssClass="form-control" MaxLength="20" Text='<%#Bind("ContactNo")%>'></asp:TextBox>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField ShowHeader="true" HeaderText="Delete" ItemStyle-Width="10%">
                                                                                                <ItemTemplate>
                                                                                                    <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click" OnClientClick="return confirm('Are you sure you want to delete this data?');"
                                                                                                        ImageUrl="~/Images/icons/icon_delete.gif" ToolTip="Delete" />
                                                                                                </ItemTemplate>
                                                                                                <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                                            </asp:TemplateField>
                                                                                        </Columns>
                                                                                        <PagerSettings Visible="False" />
                                                                                    </asp:GridView>

                                                                                </div>
                                                                            </div>

                                                                            <div class="outerBox11 pTop15 col-md-12" style="padding-bottom: 20px">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="Label5" 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>
                                                                    </asp:Panel>


                                                                    <asp:HiddenField ID="IdForLocalArea" runat="server" />
                                                                    <asp:HiddenField ID="IdForPermanentArea" runat="server" />
                                                                    <asp:HiddenField ID="IdForEmergencyArea" runat="server" />
                                                                    <asp:HiddenField ID="IdForLocalAddress" runat="server" />
                                                                    <asp:HiddenField ID="IdForPermanentAddress" runat="server" />
                                                                    <asp:HiddenField ID="IdForEmergencyAddress" runat="server" />
                                                                    <asp:HiddenField ID="IdForLocalContact" runat="server" />
                                                                    <asp:HiddenField ID="IdForPermanentContact" runat="server" />
                                                                    <asp:HiddenField ID="IdForEmergencyContact" runat="server" />
                                                                    <asp:HiddenField ID="IdForCommunication" runat="server" />

                                                                </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <style>
        #ctl00_CP_StudentCriteriaFormGridView tr:first-child {
            display: none;
        }

        #StudentCriteriaFormGridView.more {
            font-size: 16px;
            color: #252422;
        }
    </style>
    <%--<script data-main="../../JavaScript/rjs/encrypt/communication-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/communication")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
