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

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



<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">


    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <uc1:CommonSearchUserControl ID="CommonSearchControl" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="leftUlMenu">
                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="112"
                                            Visible="true" runat="server" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box" id="SearchDiv" runat="server" visible="True">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0" CssClass="btn btn-add fas" Text="&#xf067; Add" />
                                    </div>
                                </div>
                            </asp:Panel>

                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                        <div class="outerBox pTop5 col-md-3 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OrganizationGroupBatchLabel" runat="server" Text="Group Batch" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="OrganizationGroupBatchDropDownList" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="OrganizationGroupBatchDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchOrgLabel" runat="server" Text="Organization"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchOrgDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="SearchOrgDropDownList_OnSelectedIndexChanged"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label1" runat="server" Text="For Batch"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchForBatchDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="SearchForBatchDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="DepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="DepartmentDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchForClassLabel" runat="server" Text="For Class"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchForClassDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">

                                                <asp:Label ID="FirstNameSearchLabel" runat="server" Text="Student Name"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="FirstNameSearchTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="LastNameSearchLabel" runat="server" Text="Surname"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="LastNameSearchTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl" runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToDateLabel" runat="server" Text="To Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" runat="server" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3" id="SearchFollowUpdateDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchFollowUpdateLabel" runat="server" Text="Follow Up Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl DisplayDatePicker="true" ID="SearchFollowUpdateDatepicker" runat="server" />
                                            </div>
                                        </div>

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

                                        <div class="outerBox pTop5 col-md-3" id="FromMeritMarksDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromMeritMarksLabel" runat="server" Text="From Merit Marks"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="FromMeritMarksTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="javascript:return MaskDecimal(event,8,2)" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" id="ToMeritMarksDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToMeritMarksLabel" runat="server" Text="To MeritMarks"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="ToMeritMarksTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="javascript:return MaskDecimal(event,8,2)" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchNumberLabel" runat="server" Text="Inquiry Number"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchNumberTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" MaxLength="100" SkinID="CustomWidthTextbox" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3" id="SearchInquiryModeDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchInquiryModeLabel" runat="server" Text="Inquiry Mode"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchInquiryModeDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" id="SearchInquiryReferenceDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchInquiryReferenceLabel" runat="server" Text="Inquiry Reference"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchInquiryReferenceDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchStatusLabel" runat="server" Text="Status"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchStatusDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3" id="SearchTransportDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="TransportLabel" runat="server" Text="Transport"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="TransportDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" id="SearchHostelDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="HostelLabel" runat="server" Text="Hostel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="HostelDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OrderbyLabel" runat="server" Text="Order By"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="OrderByDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" id="SearchAdmissionFormDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AdmissionFormLabel" runat="server" Text="Admission Form"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="AdmissionFormDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" id="SearchContactNoDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ContactLabel" runat="server" Text="Contact No"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="ContactNoSearchTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" MaxLength="100" SkinID="CustomWidthTextbox" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="HandledBySearchLabel" runat="server" Text="Handled By"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="HandledBySearchTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" SkinID="CustomWidthTextbox"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop15 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:CheckBox ID="WithDetailchb" runat="server" Text="With Detail" />
                                            </div>
                                        </div>

                                        <div class="cBoth"></div>
                                        <div class="outerBox11 pTop5 col-md-3">
                                            <asp:CheckBox ID="SMSSend" runat="server" OnCheckedChanged="SMSSend_CheckedChanged" AutoPostBack="True" Text="Alert" />
                                        </div>
                                        <div class="cBoth"></div>
                                        <br />
                                        <div id="HideDiv" runat="server" visible="false">
                                            <div class="outerBox col-md-3 pTop5">
                                                <div class="fLeft pRight5">
                                                    <asp:CheckBoxList ID="SourceTypeCheckBoxList" runat="server" RepeatDirection="Horizontal"
                                                        OnSelectedIndexChanged="SourceTypeCheckBoxList_OnSelectedIndexChanged" AutoPostBack="true">
                                                        <asp:ListItem Text="SMS" Value="1" Selected="True"></asp:ListItem>
                                                        <asp:ListItem Text="Email" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="Whatsapp" Value="3"></asp:ListItem>
                                                    </asp:CheckBoxList>
                                                </div>
                                            </div>
                                            <%--  <div class="cBoth"></div>--%>
                                            <div class="outerBox11 pTop5 col-md-12">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="MessageLabel" runat="server" Text="Message"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="MessageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        Height="50px" SkinID="MultilineTextBox" runat="server" MaxLength="1000"
                                                        TextMode="MultiLine" OnTextChanged="MessageTextBox_TextChanged" AutoPostBack="true"></asp:TextBox>
                                                    <div id="CharCountDiv" runat="server" class="col-md-12 padd-0">
                                                        <asp:Label ID="ForCharLabel" runat="server" Text="Number Of Character :"></asp:Label>
                                                        <asp:Label ID="NumberOfCharLabel" runat="server" Font-Bold="true" CssClass="ml-1"></asp:Label>
                                                        <asp:Label ID="ForMessageLabel" runat="server" Text="Number Of Message :"></asp:Label>
                                                        <asp:Label ID="NumberOfMessageLabel" runat="server" Font-Bold="true"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3" id="TemplateIdDiv" runat="server">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TemplateIdLabel" runat="server" Text="Template Id"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SMSTemplateIDTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        runat="server" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="cBoth"></div>
                                            <div class="outerBox col-md-3 pTop5">
                                                <asp:Button ID="SendButton" Text="&#xf1d8; Send" runat="Server" OnClick="SendButton_Click"
                                                    SkinID="0" CssClass="btn-send btn fas" />
                                            </div>
                                        </div>

                                        <div class="alignCenter pTop5 col-md-12">
                                            <asp:Button ID="SearchButton" runat="server" Text="&#xf002; Search" OnClick="SearchButton_Click"
                                                SkinID="0" CssClass="btn-search btn fas" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click"
                                                SkinID="0" CssClass="btn-reset btn fas" />
                                            <asp:Button ID="PrintButton" runat="server" Text="&#xf15b; Print" OnClick="PrintButton_Click" SkinID="0" CssClass="btn-print btn fas" />
                                            <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" OnClick="ExportButton_Click" SkinID="0" CssClass="btn-examcommon btn fas" />
                                            <asp:Button ID="OnlineEntryButton" runat="server" Text="&#xf14b; Online Entry" OnClick="OnlineEntryButton_Click" SkinID="0" CssClass="btn-assign btn fas" />
                                            <asp:Button ID="OnlineEntryNewButton" runat="server" Text="&#xf14b; Online Entry New" OnClick="OnlineEntryNewButton_Click" SkinID="0" CssClass="btn-assign btn fas" />

                                        </div>
                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader1WireBox col-md-12 ptop15" runat="server">
                                        <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                            <div id="PatientRelationDiv" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                </div>




                                                <%--<div class="col-md-12 padd-0">

                                                        <div class="col-md-5">
                                                            <asp:Label ID="RecordsPerPage" Text="Records per Page : " runat="server" />
                                                            <asp:DropDownList ID="AddRowsToGridDropDownList" SkinID="CustomWidthDropDownList" Width="60px" runat="server"
                                                                AutoPostBack="true" OnSelectedIndexChanged="AddRowsToGridDropDownList_SelectedIndexChanged">
                                                                <asp:ListItem Text="10" Value="10" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="20" Value="20"></asp:ListItem>
                                                                <asp:ListItem Text="50" Value="50"></asp:ListItem>
                                                                <asp:ListItem Text="100" Value="100"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                        <div class="col-md-7">
                                                            <uc1:GridViewPager ID="StudentSearchGridView_GridViewPager" runat="server" OnFirstRecordClick="StudentSearchGridView_GridViewPager_FirstRecordClick"
                                                                OnLastRecordClick="StudentSearchGridView_GridViewPager_LastRecordClick" OnNextRecordClick="StudentSearchGridView_GridViewPager_NextRecordClick"
                                                                OnPrevRecordClick="StudentSearchGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="StudentSearchGridView_GridViewPager_TextBoxValueChange"
                                                                ParentGridView="StudentSearchGridView" />
                                                        </div>

                                                    </div>--%>


                                                <div class="himsBoxContent">
                                                    <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                        <ContentTemplate>
                                                            <div id="Div5" runat="server" visible="false" class="pTop10 table-responsive">

                                                                <asp:Label ID="AdmissionInquiryCountLabel" runat="server" Visible="false"></asp:Label>

                                                                <div class="col-md-12 padd-0  pb-1 pt-1">

                                                                    <div class="col-md-5">
                                                                        <asp:Label ID="RecordsPerPage" Text="Records per Page : " runat="server" />
                                                                        <asp:DropDownList ID="AddRowsToGridDropDownList" SkinID="CustomWidthDropDownList" Width="60px" runat="server"
                                                                            AutoPostBack="true" OnSelectedIndexChanged="AddRowsToGridDropDownList_SelectedIndexChanged">
                                                                            <asp:ListItem Text="10" Value="10" Selected="True"></asp:ListItem>
                                                                            <asp:ListItem Text="20" Value="20"></asp:ListItem>
                                                                            <asp:ListItem Text="50" Value="50"></asp:ListItem>
                                                                            <asp:ListItem Text="100" Value="100"></asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                    <div class="col-md-7">
                                                                        <uc1:GridViewPager ID="AdmissionInquiryGridView_GridViewPager" runat="server" OnFirstRecordClick="AdmissionInquiryGridView_GridViewPager_FirstRecordClick"
                                                                            OnLastRecordClick="AdmissionInquiryGridView_GridViewPager_LastRecordClick" OnNextRecordClick="AdmissionInquiryGridView_GridViewPager_NextRecordClick"
                                                                            OnPrevRecordClick="AdmissionInquiryGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="AdmissionInquiryGridView_GridViewPager_TextBoxValueChange"
                                                                            ParentGridView="AvailableAdmissionInquiryDataBind" />
                                                                    </div>

                                                                </div>

                                                                <asp:GridView ID="AdmissionInquiryGridView" runat="server" AutoGenerateColumns="False"
                                                                    OnRowDataBound="AdmissionInquiryGridView_RowDataBound" CssClass="table table-striped table-bordered table-hover" OnPageIndexChanging="AdmissionInquiryGridView_PageIndexChanging"
                                                                    AllowPaging="true" SkinID="" ShowHeader="true" PagerSettings-Visible="false" OnSorting="AdmissionInquiryGridView_Sorting" AllowSorting="true"
                                                                    DataKeyNames="Id,OrgId,ForBatchId,ContactNo,ContactEmail,Name,StatusId,InquiryNumber,AlternateContactNo,AlternateContactEmail,ClassName,IsGivenAdmissionForm">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderStyle-HorizontalAlign="Center">
                                                                            <HeaderTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="HeaderSelectCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </HeaderTemplate>
                                                                            <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="SelectCheckBox" runat="server" onclick="Select(this);" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                    Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ConvertLinkButton" runat="server" CommandName="Convert" OnClick="ConvertLinkButton_Click"
                                                                                    Text="Convert" CausesValidation="false"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="Admissionconvert" runat="server" OnClick="Admissionconvert_Click"
                                                                                    Text="To Admission Form" CausesValidation="false"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FollowupLinkButton" runat="server" OnClick="FollowupLinkButton_Click"
                                                                                    Text="Followup" CausesValidation="false"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="InquiryNumber" HeaderText="Inquiry Number" ItemStyle-Width="5%" SortExpression="InquiryNumber"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="OrgName" HeaderText="Organization" ItemStyle-Width="15%" SortExpression="OrgName"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="ForBatch" HeaderText="For Batch" ItemStyle-Width="8%" SortExpression="ForBatch"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="ClassName" HeaderText="For Class" ItemStyle-Width="5%" SortExpression="ClassName"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" SortExpression="Name" />
                                                                        <%-- <asp:BoundField DataField="ContactNo" HeaderText="Contact No." ItemStyle-Width="8%" SortExpression="ContactNo"
                                                                            HeaderStyle-HorizontalAlign="Left" />--%>
                                                                        <%-- <asp:BoundField DataField="MeritMarks" HeaderText="Marks" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left" SortExpression="MeritMarks" />
                                                                        <asp:BoundField DataField="MeritMarksBreakup" HeaderText="Marks Breakup" ItemStyle-Width="10%" SortExpression="MeritMarksBreakup"
                                                                            HeaderStyle-HorizontalAlign="Left" />--%>
                                                                        <asp:TemplateField HeaderText="Contact No." SortExpression="ContactNo" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ContactNoLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"ContactNo")%>'>
                                                                                </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Marks" SortExpression="MeritMarks" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MeritMarksLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"MeritMarks")%>'>
                                                                                </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Marks Breakup" SortExpression="MeritMarks" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="MeritMarksBreakupLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"MeritMarksBreakup")%>'>
                                                                                </asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:BoundField DataField="AdmissionInquiryDate" HeaderText="Inquiry Date" DataFormatString="{0:d}" SortExpression="AdmissionInquiryDate"
                                                                            ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:TemplateField HeaderText="Followup Date" ItemStyle-Width="8%" SortExpression="FollowupDateString"
                                                                            HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="FollowupDateLabel" runat="server" Text='<%# Eval("FollowupDateString") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Status" ItemStyle-Width="15%" SortExpression="StatusName"
                                                                            HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StatusNameLabel" Font-Bold="true" runat="server" Text='<%# Eval("StatusName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="ContactEmail" HeaderText="Email" ItemStyle-Width="10%" SortExpression="ContactEmail"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="DataEntryMode" SortExpression="DataEntryMode" HeaderText="Entry Mode" HeaderStyle-HorizontalAlign="Left" />
                                                                        <%--<asp:TemplateField HeaderText="DataEntryMode" ItemStyle-Width="15%" SortExpression="DataEntryMode"
                                                                            HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DataEntryModeLabel" runat="server" Text='<%# Eval("DataEntryMode")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>--%>
                                                                    </Columns>
                                                                </asp:GridView>
                                                                <%-- </div>--%>
                                                            </div>
                                                        </ContentTemplate>
                                                    </asp:UpdatePanel>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <!-- Sub Container2 Box Ends -->
                    <!-- Sub Container1 Box Start -->

                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-search"></i>
                                        <asp:Label ID="AdmissionInquiryDetailLabel" runat="server" Text="Admission Inquiry"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">

                                <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                    <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                        runat="server" CommandName="Page" CommandArgument="First"
                                        OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-fast-backward"></i>
                                    </asp:LinkButton>
                                    <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                        runat="server" CommandName="Page" CommandArgument="Prev"
                                        OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-play fa-rotate-180"></i>

                                    </asp:LinkButton>

                                    <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 AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                    runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Next"
                                                    OnClick="NextImageButton_Click">
                                                     <i class="fa fa-play"></i>
                                                </asp:LinkButton>

                                    <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                        runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Last"
                                        OnClick="LastRecordImageButton_Click">
                                                      <i class="fa fa-fast-forward"></i>
                                    </asp:LinkButton>
                                    &nbsp;  &nbsp; &nbsp;
                                </div>

                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" />

                            </div>
                        </div>

                        <div class="col-lg-12 padd-0 mt1" runat="server" id="Faliure" visible="false">
                            <div class="alert alert-danger">
                                <asp:Label runat="server" ID="Faliuremsg"></asp:Label>
                            </div>
                        </div>

                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="outerBox pTop5 col-md-3" id="NumberDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="NumberLabel" runat="server" Text="Inquiry Number"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="NumberTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" AutoPostBack="true" MaxLength="100" SkinID="CustomWidthTextbox" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="OrgLabel" runat="server" Text="Organization" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="OrgDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="OrgDropDownList_OnSelectedIndexChanged"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ForBatchLabel" runat="server" SkinID="MandatoryLabel" Text="For Batch"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="ForBatchDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            AutoPostBack="true" OnSelectedIndexChanged="ForBatchDropDownList_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ForClassLabel" runat="server" Text="For Class" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="ForClassDropDownList" SkinID="CustomWidthDropDownList" AutoPostBack="true" OnSelectedIndexChanged="ForClassDropDownList_SelectedIndexChanged"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <asp:Panel ID="NamePanel" runat="server" Visible="false">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="FirstNameLabel" runat="server" Text=" Name" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="FirstNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                            <asp:HiddenField ID="IdHiddenField" runat="server" />
                                            <asp:HiddenField ID="StudentIdHiddenField" runat="server" />
                                        </div>
                                    </div>
                                    <%-- <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="MiddleNameLabel" runat="server" Text="Father Name"></asp:Label>
                                            <asp:Label ID="MiddleNameLabelM" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="MiddleNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>--%>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="LastNameLabel" runat="server" Text="Surname" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="LastNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                </asp:Panel>
                                <asp:Panel ID="surnamepanel" runat="server" Visible="false">

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label2" runat="server" Text=" Name" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="FirstNameTextBox1" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="MiddleName1Div" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="MiddleNameLabel1" runat="server" Text="Middle Name" Visible="false"></asp:Label>
                                            <asp:Label ID="MiddleNameLabel1M" runat="server" Text="Middle Name" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="MiddleNameTextBox1" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="SurnameDiv" runat="server" visible="false">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label6" runat="server" Text="Surname" SkinID="MandatoryLabel"></asp:Label>
                                            <asp:Label ID="SurnameLbl" runat="server" Text="Surname"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="LastNameTextBox1" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>


                                </asp:Panel>
                                <div class="outerBox pTop5 col-md-3" id="DateOfBirthDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="DateOfBirthLabel" runat="server" Text="Date Of Birth" Visible="false"></asp:Label>
                                        <asp:Label ID="DateOfBirthLabelM" runat="server" Text="Date Of Birth" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <DPC:DatePickerControl ID="DateOfBirthDatePickerControl" runat="server" onkeypress="return isNumberKey(event)" DisplayDatePicker="true" OnTextChanged="DateOfBirthDatePickerControl_TextChanged" />
                                        <%-- <Date:DatePickerControl DisplayDatePicker="true" ID="DateOfBirthDatePickerControl" onkeypress="return isNumberKey(event)" OnTextChanged="DateOfBirthDatePickerControl_TextChanged"
                                            Visible="True" runat="server" MaxLength="12" />--%>
                                    </div>
                                </div>
                                <%--<div class="outerBox pTop5 col-md-3" runat="server" id="WordDiv">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="DOBInWords" runat="server" Text="Date Of Birth In Word"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="DOBInWordsTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox" Enabled="false"></asp:TextBox>
                                        </div>
                                </div>--%>
                                <div class="outerBox pTop5 col-md-3" id="AgeDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="AgeLabel" runat="server" Text="Age"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="AgeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox" Enabled="false"></asp:TextBox>
                                    </div>
                                </div>


                                <div class="outerBox pTop5 col-md-3" id="MinorityStatusDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MinorityStatusLabel" runat="server" Text="Minority Status"></asp:Label>
                                        <asp:Label ID="MinorityStatusLabelM" runat="server" SkinID="MandatoryLabel" Text="Minority Status" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">


                                        <asp:DropDownList runat="server" ID="MinorityStatusDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                            <asp:ListItem Text="- Select -" Value="-1"></asp:ListItem>
                                            <asp:ListItem Text="Yes" Value="1" Selected="True"></asp:ListItem>
                                            <asp:ListItem Text="No" Value="2"></asp:ListItem>


                                        </asp:DropDownList>
                                    </div>
                                </div>



                                <div class="outerBox pTop5 col-md-3" id="LiveWithDiv" runat="server">

                                    <div class="controlLabelWidth">
                                        <asp:Label ID="LiveWithLabel" runat="server" Text="Live With"></asp:Label>
                                        <asp:Label ID="LiveWithLabelM" runat="server" SkinID="MandatoryLabel" Text="Live With" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="LiveWithDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>


                                <div class="outerBox pTop5 col-md-3" id="AadhaarNumberDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="AadhaarNumberLabel" runat="server" Text="Aadhaar Number"></asp:Label>
                                        <asp:Label ID="AadhaarNumberLabelM" runat="server" SkinID="MandatoryLabel" Text="Aadhaar Number" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="AadhaarNumberTextBox" onmouseleave="showHideTooltip()" onkeypress="return isNumberKey(event)" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="20" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="BloodGroupDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="BloodGroupLabel" runat="server" Text="Blood Group"></asp:Label>
                                        <asp:Label ID="BloodGroupLabelM" runat="server" SkinID="MandatoryLabel" Text="Blood Group" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="BloodGroupDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StatusLabel" runat="server" Text="Status" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="StatusDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="DateOfInquiryDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <%-- <asp:Label ID="DateOfInquiryLabel" runat="server" Text="Date Of Inquiry"></asp:Label>--%>
                                        <asp:Label ID="DateOfInquiryLabelM" runat="server" SkinID="MandatoryLabel" Text="Date Of Inquiry"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <DPC:DatePickerControl DisplayDatePicker="true" ID="DateOfInquiryDatePickerControl" OnTextChanged="DateOfInquiryDatePickerControl_TextChanged"
                                            runat="server" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="MeritmarksDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MeritMarksLabel" runat="server" Text="Merit Marks"></asp:Label>
                                        <asp:Label ID="MeritMarksLabelM" runat="server" SkinID="MandatoryLabel" Text="Merit Marks" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MeritMarksTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox" onkeypress="javascript:return MaskDecimal(event,10,2)"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="MeritMarksBreakupDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MeritMarksBreakupLabel" runat="server" Text="Merit Marks Breakup"></asp:Label>
                                        <%--<asp:Label ID="MeritMarksBreakupLabelM" runat="server" SkinID="MandatoryLabel"  Text="Merit Marks Breakup"></asp:Label>--%>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MeritMarksBreakupTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="GenderDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <%-- <asp:Label ID="GenderLabel" runat="server" Text="Gender"></asp:Label>--%>
                                        <asp:Label ID="GenderLabelM" runat="server" SkinID="MandatoryLabel" Text="Gender"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="GenderDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                        <asp:TextBox ID="GenderTextBox" runat="server" SkinID="CustomWidthTextBox" Visible="false" Enabled="false"></asp:TextBox>
                                    </div>
                                </div>



                                <div class="outerBox pTop5 col-md-3" id="FeesCategoryDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StudentCategoryLabel" runat="server" Text="Fees Category"></asp:Label>
                                        <asp:Label ID="StudentCategoryLabelM" runat="server" SkinID="MandatoryLabel" Text="Fees Category"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="StudentCategoryDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="StreetOneDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StreetOneLabel" runat="server" Text="Street One"></asp:Label>
                                        <asp:Label ID="StreetOneLabelM" runat="server" SkinID="MandatoryLabel" Text="Street One" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="StreetOneTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox" Autocomplete="False"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="StreetTwoDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StreetTwoLabel" runat="server" Text="Street Two"></asp:Label>
                                        <asp:Label ID="StreetTwoLabelM" runat="server" SkinID="MandatoryLabel" Text="Street Two" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="StreetTwoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox" Autocomplete="False"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="StreetThreeDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StreetThreeLabel" runat="server" Text="Street Three"></asp:Label>
                                        <asp:Label ID="StreetThreeLabelM" runat="server" SkinID="MandatoryLabel" Text="Street Three" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="StreetThreeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox" Autocomplete="False"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="CityDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CityLabel" runat="server" Text="City"></asp:Label>
                                        <asp:Label ID="CityLabelM" runat="server" SkinID="MandatoryLabel" Text="City" Visible="false"></asp:Label>
                                    </div>


                                    <div class="fLeft pRight5">
                                        <acc:AutoCompleteControl ID="CityTextBox" runat="server" MinimumPrefixLength="2"
                                            MaxLength="50" ContextKey="Common.City" AutoPostBack="true" OnTextChanged="CityTextBox_TextChanged"
                                            DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="StateDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StateLabel" runat="server" Text="State"></asp:Label>
                                        <asp:Label ID="StateLabelM" runat="server" SkinID="MandatoryLabel" Text="State" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <acc:AutoCompleteControl ID="StateTextBox" runat="server" MinimumPrefixLength="2"
                                            MaxLength="50" ContextKey="Common.State" AutoPostBack="true"
                                            DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" OnTextChanged="LocalAddressStateTextBox_TextChange"
                                            ValidateOnTextChanged="false" />

                                        <%--<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>
                                <div class="outerBox pTop5 col-md-3" id="CountryDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CountryLabel" runat="server" Text="Country"></asp:Label>
                                        <asp:Label ID="CountryLabelM" runat="server" SkinID="MandatoryLabel" Text="Country" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <acc:AutoCompleteControl ID="CountryTextBox" runat="server" MinimumPrefixLength="2"
                                            MaxLength="50" ContextKey="Common.Country" DisplayLoadingStatus="true" AutoPostBack="true"
                                            SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="ZipCodeDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ZipCodeLabel" runat="server" Text="Zip Code"></asp:Label>
                                        <asp:Label ID="ZipCodeLabelM" runat="server" SkinID="MandatoryLabel" Text="Zip Code" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="ZipCodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)"
                                            runat="server" MaxLength="20" SkinID="CustomWidthTextbox" Autocomplete="False"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="WhatsAppContactDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <%-- <asp:Label ID="ContactNoLabel" runat="server" Text="Parent Contact No"></asp:Label>--%>
                                        <asp:Label ID="WhatsAppContactLabel" runat="server" Text="WhatsApp Contact"></asp:Label>
                                        <asp:Label ID="WhatsAppContactLabelM" runat="server" SkinID="MandatoryLabel" Text="WhatsApp Contact" Visible="false">   </asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="WhatsAppContactTextBox" Autocomplete="False" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="12" SkinID="CustomWidthTextbox" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="ParentContactNoDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <%-- <asp:Label ID="ContactNoLabel" runat="server" Text="Parent Contact No"></asp:Label>--%>
                                        <asp:Label ID="ContactNoLabelM" runat="server" SkinID="MandatoryLabel" Text="Parent Contact No"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="ContactNoTextBox" Autocomplete="False" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="12" SkinID="CustomWidthTextbox" onkeypress="return isNumberKey(event)"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="ParentEmailDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ContactEmailLabel" runat="server" Text="Parent Email"></asp:Label>
                                        <asp:Label ID="ContactEmailLabelM" runat="server" SkinID="MandatoryLabel" Text="Parent Email" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="ContactEmailTextBox" Autocomplete="False" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox" onblur="return checkEmail(this);"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="AlternateContactNoDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <%--<asp:Label ID="Label5" runat="server" Text="Alternate Email"></asp:Label>--%>
                                        <asp:Label ID="AlternateContactNoLabel" runat="server" Text="Alternate Contact No" Visible="true"></asp:Label>
                                        <asp:Label ID="AlternateContactNoLabelM" runat="server" SkinID="MandatoryLabel" Text="Alternate Contact No" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="AlternateContactNoTextBox" Autocomplete="False" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)"
                                            runat="server" MaxLength="12" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="AlternateEmailDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="AlternateEmailLabel" runat="server" Text="Alternate Email" Visible="true"></asp:Label>
                                        <asp:Label ID="AlternateEmailLabelM" runat="server" SkinID="MandatoryLabel" Text="Alternate Email" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="AlternateContactEmailTextBox" Autocomplete="False" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="200" SkinID="CustomWidthTextbox" onblur="return checkEmail(this);"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="RemarkDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="RemarkLabel" runat="server" Text="Remark" Visible="true"></asp:Label>
                                        <asp:Label ID="RemarkLabelM" runat="server" SkinID="MandatoryLabel" Text="Remark" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="MultiLineTextBox"
                                            onmouseenter="showHideTooltip()" MaxLength="200" TextMode="MultiLine"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="HandledByDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="HandledByLabel" runat="server" Text="Handled By" Visible="true"></asp:Label>
                                        <asp:Label ID="HandledByLabelM" runat="server" SkinID="MandatoryLabel" Text="Handled By" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="HandledByTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3" id="InquiryModeDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="InquiryModeLabel" runat="server" Text="Inquiry Mode" Visible="true"></asp:Label>
                                        <asp:Label ID="InquiryModeLabelM" runat="server" SkinID="MandatoryLabel" Text="Inquiry Mode" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="InquiryModeDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop15 col-md-3" id="InquiryReferenceDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="InquiryReferenceLabel" runat="server" Text="Inquiry Reference" Visible="true"></asp:Label>
                                        <asp:Label ID="InquiryReferenceLabelM" runat="server" SkinID="MandatoryLabel" Text="Inquiry Reference" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="InquiryReferenceDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop15 col-md-3" id="AdmissionCastCategoryDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CastCategoryLabel" runat="server" Text="Admission Caste Category" Visible="true"></asp:Label>
                                        <asp:Label ID="CastCategoryLabelM" runat="server" SkinID="MandatoryLabel" Text="Admission Caste Category" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="CastCategoryDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                        </asp:DropDownList>
                                    </div>
                                </div>

                                <div class="outerBox11 pTop15 col-md-3" id="FollowupDateDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FollowupDateLabel" runat="server" Text="Followup Date" Visible="true"></asp:Label>
                                        <asp:Label ID="FollowupDateLabelM" runat="server" SkinID="MandatoryLabel" Text="Followup Date" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <DPC:DatePickerControl DisplayDatePicker="true" ID="FollowupDatePickerControl" runat="server" />
                                    </div>
                                </div>
                                <div class="outerBox11 pTop15 col-md-3" id="FollowupRemarkDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FollowupRemarkLabel" runat="server" Text="Followup Remark" Visible="true"></asp:Label>
                                        <asp:Label ID="FollowupRemarkLabelM" runat="server" SkinID="MandatoryLabel" Text="Followup Remark" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="FollowupRemarkTextBox" runat="server" onmouseleave="showHideTooltip()"
                                            SkinID="MultiLineTextBox" onmouseenter="showHideTooltip()" MaxLength="1000"
                                            TextMode="MultiLine"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox11 pTop15 col-md-3" id="InquiryReferenceRemarkDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="InquiryReferenceRemarkLabel" runat="server" Text="Inquiry Reference Remark" Visible="true"></asp:Label>
                                        <asp:Label ID="InquiryReferenceRemarkLabelM" runat="server" SkinID="MandatoryLabel" Text="Inquiry Reference Remark" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="InquiryReferenceRemarkTextBox" runat="server" onmouseleave="showHideTooltip()"
                                            SkinID="MultiLineTextBox" onmouseenter="showHideTooltip()" MaxLength="200"
                                            TextMode="MultiLine"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="cBoth"></div>
                                <div class="outerBox11 pTop10 col-md-3" id="HostelDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:CheckBox ID="IsHostelRequiredCheckBox" runat="server" Text="Hostel Required" />
                                    </div>
                                </div>
                                <div class="outerBox11 pTop10 col-md-3" id="TransportDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:CheckBox ID="IsTransportRequiredCheckBox" runat="server" Text="Transport Required" />
                                    </div>
                                </div>
                                <div class="outerBox11 pTop10 col-md-3" id="GivenAdmissionFormDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:CheckBox ID="IsGivenAdmissionFormCheckBox" runat="server" Text="Given AdmissionForm" />
                                    </div>
                                </div>
                                <div class="outerBox11 pTop15 col-md-12" style="padding-bottom: 20px">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="InquiryCustomLabel" runat="server" Text="Admission Inquiry Custom Fields">
                                        </asp:Label>
                                    </div>



                                    <div class="table-responsive padd-5">
                                        <asp:GridView runat="server" ID="AdmissionInquiryCustomGridView" AutoGenerateColumns="False"
                                            EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="AdmissionInquiryCustomGridView_RowDataBound"
                                            AllowPaging="false" ShowHeader="true" DataKeyNames="Id,FieldTypeId,FieldList,AdmissionInquiryFieldResponse,IsFieldMandatory"
                                            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="FieldRemark" 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"></asp:DropDownList>
                                                        <asp:TextBox ID="FieldTypeTextBox" runat="server" Visible="false" CssClass="form-control" TextMode="MultiLine" Height="50px"></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <PagerSettings Visible="False" />
                                        </asp:GridView>

                                    </div>

                                </div>


                                <div class="himsBoxHeader  card-head inner" id="ParentsDiv" runat="server" visible="True">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText fLeft">
                                            <header>
                                                <asp:Label ID="ParentsDetailLabel" Text="Parents Detail" runat="server" />
                                            </header>
                                        </div>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="MiddleNameDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MiddleNameLabel" runat="server" Text="Father Name"></asp:Label>
                                        <asp:Label ID="MiddleNameLabelM" runat="server" SkinID="MandatoryLabel" Text="Father Name" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MiddleNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="FatherOccupationDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FatherOccupationLabel" runat="server" Text="Father Occupation"></asp:Label>
                                        <asp:Label ID="FatherOccupationLabelM" runat="server" SkinID="MandatoryLabel" Text="Father Occupation" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="FatherOccupationTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="FatherIncomeDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FatherIncomeLabel" runat="server" Text="Father Annual Income"></asp:Label>
                                        <asp:Label ID="FatherIncomeLabelM" runat="server" SkinID="MandatoryLabel" Text="Father Annual Income" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="FatherIncomeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKeywithoutdot(event)"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="FatherContactNoDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FatherContactNoLabel" runat="server" Text="Father Contact No"></asp:Label>
                                        <asp:Label ID="FatherContactNoLabelM" runat="server" SkinID="MandatoryLabel" Text="FatherContactNo" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="FatherContactNoTextBox" onkeypress="return isNumberKey(event)" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="FatherMailDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FatherMailLabel" runat="server" Text="Father Mail"></asp:Label>
                                        <asp:Label ID="FatherMailLabelM" runat="server" SkinID="MandatoryLabel" Text="Father Mail" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="FatherMailTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="FatherQualificationDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FatherQualificationLabel" runat="server" Text="Father Qualification"></asp:Label>
                                        <asp:Label ID="FatherQualificationLabelM" runat="server" SkinID="MandatoryLabel" Text="FatherQualification" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="FatherQualificationTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="MotherNameDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MotherNameLabel" runat="server" Text="Mother Name"></asp:Label>
                                        <asp:Label ID="MotherNameLabelM" runat="server" SkinID="MandatoryLabel" Text="Mother Name" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MotherNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="MotherOccupationDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MotherOccupationLabel" runat="server" Text="Mother Occupation"></asp:Label>
                                        <asp:Label ID="MotherOccupationLabelM" runat="server" SkinID="MandatoryLabel" Text="Mother Occupation" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MotherOccupationTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="MotherIncomeDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MotherIncomeLabel" runat="server" Text="Mother Annual Income"></asp:Label>
                                        <asp:Label ID="MotherIncomeLabelM" runat="server" SkinID="MandatoryLabel" Text="Mother Annual Income" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MotherIncomeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKeywithoutdot(event)"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="MotherContactNoDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MotherContactNoLabel" runat="server" Text="Mother ContactNo"></asp:Label>
                                        <asp:Label ID="MotherContactNoLabelM" runat="server" SkinID="MandatoryLabel" Text="Mother ContactNo" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MotherContactNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="MotherMailDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MotherMailLabel" runat="server" Text="Mother Mail"></asp:Label>
                                        <asp:Label ID="MotherMailLabelM" runat="server" SkinID="MandatoryLabel" Text="Mother Mail" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MotherMailTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="MotherQualificationDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MotherQualificationLabel" runat="server" Text="Mother Qualification"></asp:Label>
                                        <asp:Label ID="MotherQualificationLabelM" runat="server" SkinID="MandatoryLabel" Text="Mother Qualification" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MotherQualificationTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>


                                <div class="himsBoxHeader  card-head inner" id="PastAcademicRecordDiv" runat="server" visible="True">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText fLeft">
                                            <header>
                                                <asp:Label ID="PastAcademicRecordLabel" Text="Past Academic Record(If Any)" runat="server" />
                                            </header>
                                        </div>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="PreviousSchoolDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="PreviousSchoolLabel" runat="server" Text="Previous School"></asp:Label>
                                        <asp:Label ID="PreviousSchoolLabelM" runat="server" SkinID="MandatoryLabel" Text="Previous School"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <acc:AutoCompleteControl ID="PreviousSchoolTextBox" runat="server" MinimumPrefixLength="2"
                                            MaxLength="50" ContextKey="sCommon.PreviousSchool" DisplayLoadingStatus="true"
                                            SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="StreamDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StreamLabel" runat="server" Text="Stream"></asp:Label>
                                        <asp:Label ID="StreamLabelM" runat="server" SkinID="MandatoryLabel" Text="Stream" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="StreamTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>



                                <div class="outerBox pTop5 col-md-3" id="MeritGradeDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MeritGradeLabel" runat="server" Text="Merit Grade"></asp:Label>
                                        <asp:Label ID="MeritGradeLabelM" runat="server" SkinID="MandatoryLabel" Text="Merit Grade" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MeritGradeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3" id="BoardDiv" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="BoardLabel" runat="server" Text="Board"></asp:Label>
                                        <asp:Label ID="BoardLabelM" runat="server" SkinID="MandatoryLabel" Text="Board" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="BoardTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <%--<div class="outerBox11 pTop10 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:CheckBox ID="IsTextUpperCaseCheckBox" AutoPostBack="true" OnCheckedChanged="IsTextUpperCaseCheckBox_CheckedChanged" runat="server" Text="Text In Upper Case" />
                                    </div>
                                </div>--%>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </ContentTemplate>
    </asp:UpdatePanel>

    <%--  <script data-main="../../JavaScript/rjs/encrypt/admission-inquiry-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/admission-inquiry")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <script type="text/javascript">

        function settextstyletonone() {
            if ($("#ctl00_CP_CityDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_CityTextBox_NameTextBox').style.textTransform = 'none';
            }
            if ($("#ctl00_CP_StateDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_StateTextBox_NameTextBox').style.textTransform = 'none';
            }
            if ($("#ctl00_CP_CountryDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_CountryTextBox_NameTextBox').style.textTransform = 'none';
            }
            if ($("#ctl00_CP_PreviousSchoolDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_PreviousSchoolTextBox_NameTextBox').style.textTransform = 'none';
            }
        }
        function settextstyletocapitalize() {
            if ($("#ctl00_CP_CityDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_CityTextBox_NameTextBox').style.textTransform = 'capitalize';
            }
            if ($("#ctl00_CP_StateDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_StateTextBox_NameTextBox').style.textTransform = 'capitalize';
            }
            if ($("#ctl00_CP_CountryDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_CountryTextBox_NameTextBox').style.textTransform = 'capitalize';
            }
            if ($("#ctl00_CP_PreviousSchoolDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_PreviousSchoolTextBox_NameTextBox').style.textTransform = 'capitalize';
            }
        }
        function settextstyletouppercase() {
            if ($("#ctl00_CP_CityDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_CityTextBox_NameTextBox').style.textTransform = 'uppercase';
            }
            if ($("#ctl00_CP_StateDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_StateTextBox_NameTextBox').style.textTransform = 'uppercase';
            }
            if ($("#ctl00_CP_CountryDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_CountryTextBox_NameTextBox').style.textTransform = 'uppercase';
            }
            if ($("#ctl00_CP_PreviousSchoolDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_PreviousSchoolTextBox_NameTextBox').style.textTransform = 'uppercase';
            }
        }
        function settextstyletolowercase() {
            if ($("#ctl00_CP_CityDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_CityTextBox_NameTextBox').style.textTransform = 'lowercase';
            }
            if ($("#ctl00_CP_StateDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_StateTextBox_NameTextBox').style.textTransform = 'lowercase';
            }
            if ($("#ctl00_CP_CountryDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_CountryTextBox_NameTextBox').style.textTransform = 'lowercase';
            }
            if ($("#ctl00_CP_PreviousSchoolDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_PreviousSchoolTextBox_NameTextBox').style.textTransform = 'lowercase';
            }
        }
        function settextstyletoinitial() {
            if ($("#ctl00_CP_CityDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_CityTextBox_NameTextBox').style.textTransform = 'initial';
            }
            if ($("#ctl00_CP_StateDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_StateTextBox_NameTextBox').style.textTransform = 'initial';
            }
            if ($("#ctl00_CP_CountryDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_CountryTextBox_NameTextBox').style.textTransform = 'initial';
            }
            if ($("#ctl00_CP_PreviousSchoolDiv").css('visibility') == 'visible') {
                document.getElementById('ctl00_CP_PreviousSchoolTextBox_NameTextBox').style.textTransform = 'initial';
            }
        }

        function isNumberKeywithoutdot(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode
            if (charCode > 31 && (charCode < 48 || charCode > 57)) {
                return false;
            }
            return true;
        }

        function middlenamechange(obj) {
            var middlename = document.getElementById(obj.id).value;
            document.getElementById("ctl00_CP_MiddleNameTextBox1").value = middlename;
            document.getElementById("ctl00_CP_MiddleNameTextBox").value = middlename;

        }
    </script>
</asp:Content>

