<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Admission_AdmissionForm, App_Web_yvmjv5k0" 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/DatePickerAutoPostBackControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server">
        <ContentTemplate>
            <style type="text/css">
                .table.table-bordered tbody tr:first-child th, .table-bordered > thead > tr > th, table.table-bordered tr:first-child td {
                    color: #03AFC5 !important;
                    font-weight: bold;
                }
            </style>
            <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>
                                        </header>
                                    </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">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchDepartmentLabel" runat="server" Text="Department"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchDepartmentDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    AutoPostBack="true" OnSelectedIndexChanged="SearchDepartmentDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </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="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">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchFormNoLabel" runat="server" Text="Form No"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">

                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SearchFormNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        MaxLength="100" meta:resourcekey="LastNameTextBoxResource1" onkeypress="javascript:return MaskDecimal(event,10,2)"></asp:TextBox>

                                                    <asp:HiddenField ID="HiddenField1" runat="server" />
                                                    <asp:HiddenField ID="HiddenField2" runat="server" />
                                                </div>
                                            </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="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date: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">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" runat="server" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <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">
                                            <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="SearchDataEntryStatusLabel" runat="server" Text="Process Status"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchDataEntryStatusDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control"></asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop15 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:CheckBox ID="WithMeritDetaillbl" runat="server" Text="With Merit Detail" />
                                            </div>
                                        </div>
                                        <%-- add for 29511 mantis start --%>
                                        <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_SelectedIndexChanged" 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="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>
                                        <%-- add for 29511 mantis end --%>
                                        <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="UploadToExcelLinkButton" Text="&#xf093; Export To Excel" SkinID="0" CssClass="btn-examcommon btn fas" runat="server" CausesValidation="false" Visible="false"></asp:Button>
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click"
                                                SkinID="0" CssClass="btn-reset btn fas" />
                                            <asp:Button ID="OnlineEntryButton" runat="server" Text="Online Entry" OnClick="OnlineEntryButton_Click" Style="display: none;" />
                                        </div>

                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader1WireBox col-md-12 pTop5" runat="server">
                                        <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                            <div id="PatientRelationDiv" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <div>
                                                            <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="true" />
                                                        </div>
                                                    </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="25" Value="25" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="50" Value="50"></asp:ListItem>
                                                                <asp:ListItem Text="75" Value="75"></asp:ListItem>
                                                                <asp:ListItem Text="100" Value="100"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                        <div class="col-md-7">
                                                            <uc1:GridViewPager ID="AdmissionFormGridView_GridViewPager" runat="server" OnFirstRecordClick="AdmissionFormGridView_GridViewPager_FirstRecordClick"
                                                                OnLastRecordClick="AdmissionFormGridView_GridViewPager_LastRecordClick" OnNextRecordClick="AdmissionFormGridView_GridViewPager_NextRecordClick"
                                                                OnPrevRecordClick="AdmissionFormGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="AdmissionFormGridView_GridViewPager_TextBoxValueChange"
                                                                ParentGridView="AdmissionFormGridView" />
                                                        </div>

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

                                                    <asp:GridView ID="AdmissionFormGridView" runat="server" AutoGenerateColumns="False" EmptyDataText="No records found" SkinID=""
                                                        OnRowDataBound="AdmissionFormGridView_RowDataBound" OnPageIndexChanging="AdmissionFormGridView_PageIndexChanging"
                                                        AllowPaging="true" PageSize="25" ShowHeader="true" PagerSettings-Visible="false" CssClass="table table-striped table-bordered table-hover"
                                                        DataKeyNames="Id,StatusId,ContactNo,ContactEmail,WhatsappContactNo" AllowSorting="true" OnSorting="AdmissionFormGridView_Sorting">
                                                        <Columns>
                                                            <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Record">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="AllDetailLinkButton" runat="server" CommandName="AllDetailLink" OnClick="AllDetailLinkButton_Click"
                                                                        Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <%--<asp:TemplateField 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-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="To Student">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="ConvertLinkButton" runat="server" CommandName="Convert" OnClick="ConvertLinkButton_Click"
                                                                        Text="Convert" CausesValidation="false"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Mark Entry">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="MarkEntryLinkButton" runat="server" CommandName="MarkEntry" OnClick="MarkEntryLinkButton_Click"
                                                                        Text="Mark Entry" CausesValidation="false"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Online">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="DetailLinkButton" runat="server" CommandName="DetailLink" OnClick="DetailLinkButton_Click"
                                                                        Text="Detail" CausesValidation="false"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                            <asp:BoundField DataField="FormNo" HeaderText="Form No" SortExpression="FormNo" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="ClassName" SortExpression="ClassName" HeaderText="For Class"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="StatusName" SortExpression="StatusName" HeaderText="Status"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="FormStatus" SortExpression="FormStatus" HeaderText="Merit List Status"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:TemplateField HeaderText="Merit Marks" SortExpression="MeritMarks" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="MeritMarksLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"MeritMarks").ToString()=="0.00"? "":Eval("MeritMarks") %>'>
                                                                    </asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="MeritGrade" SortExpression="MeritGrade" HeaderText="Merit Grade"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:TemplateField HeaderText="Submit Date" SortExpression="CreatedDateTime" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="SubmitDatelbl" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("CreatedDateTime","{0:dd/MM/yyyy}")%>'
                                                                        Text='<%#Bind("CreatedDateTime","{0:dd/MM/yyyy}")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="DataEntryStatus" SortExpression="DataEntryStatus" HeaderText="Process Status" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="DataEntryMode" SortExpression="DataEntryMode" HeaderText="Entry Mode" HeaderStyle-HorizontalAlign="Left" />
                                                        </Columns>
                                                    </asp:GridView>
                                                </div>
                                                <%--  </ContentTemplate>
                                                </asp:UpdatePanel>--%>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <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="far fa-folder"></i>
                                        <asp:Label ID="AdmissionFormDetailLabel" runat="server" Text="Admission Form"></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="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FormNoLabel" runat="server" Text="Form No" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="FormNoTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                meta:resourcekey="LastNameTextBoxResource1" AutoPostBack="true" onkeypress="g();"
                                                OnTextChanged="FormNoTextBox_TextChanged"></asp:TextBox>
                                            <asp:HiddenField ID="FormNoHiddenField" runat="server" />
                                            <asp:HiddenField ID="IdHiddenField" runat="server" />
                                            <asp:HiddenField ID="StudentIdHiddenField" runat="server" />
                                            <asp:HiddenField ID="InquiryHiddenField" runat="server" />

                                        </div>
                                    </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"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true" OnSelectedIndexChanged="ForClassDropDownList_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <asp:Button runat="server" ID="EditOnlineButton" SkinID="0" OnClick="EditOnlineButton_OnClick" Text="Edit Online" Style="display: none;" />
                                    <asp:Button runat="server" ID="Print_Button" OnClick="Print_Button_OnClick" Text="Receipt Print" Visible="false" SkinID="0" CssClass="btn btn-assign fas" />
                                    <asp:Button runat="server" ID="Print_Button_Detail" OnClick="Print_Button_Detail_OnClick" Text="Receipt Print Detail" Visible="false" SkinID="0" CssClass="btn btn-assign fas" />
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ForBatchLabel" runat="server" Visible="false" Text="For Batch"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="ForBatchTextBox" Visible="false" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()" runat="server" MaxLength="20"
                                            SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="cBoth"></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>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <%--<asp:Label ID="MiddleNameLabel" runat="server" Text="Middle Name"></asp:Label>--%>
                                            <asp:Label ID="MiddleNameLabel" runat="server" Text="Father Name"></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="Last Name" SkinID="MandatoryLabel"></asp:Label>--%>
                                            <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>
                                    <%--Mantis Start - 0043425--%>
                                    <div id="PENNumberDiv" class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="PENNumberLabel" runat="server" Text="PEN Number" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="PENNumberTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                MaxLength="12"
                                                onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div id="ApaarNumberDiv" class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ApaarNumberLabel" runat="server" Text="Apaar Id Number" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="ApaarNumberTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                MaxLength="12" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                        </div>
                                    </div>
                                    <%--Mantis End - 0043425--%>
                                </asp:Panel>
                                <asp:Panel ID="surnamepanel" runat="server" Visible="false">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label4" runat="server" Text="Surname" SkinID="MandatoryLabel"></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>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label1" 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">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label2" runat="server" Text="Father Name"></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>

                                </asp:Panel>

                                <div class="outerBox pTop5 col-md-3" runat="server">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="DateOfBirthLabel" runat="server" Text="Date Of Birth" Visible="True" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <Date:DatePickerControl ID="DateOfBirthDatePickerControl" runat="server" DisplayDatePicker="true" OnTextChanged="DateOfBirthDatePickerControl_TextChanged" />
                                    </div>
                                </div>

                                <%--<div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label5" runat="server" Text="City2"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <acc:AutoCompleteControl ID="AutoCompleteControl1" runat="server" MinimumPrefixLength="2"
                                            MaxLength="50" ContextKey="Common.City" AutoPostBack="true" OnTextChanged="DateOfBirthDatePickerControl_TextChanged"
                                            DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                    </div>
                                </div>--%>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="DateOfBirthInWordLabel" runat="server" Text="Date Of Birth In Word"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="DateOfBirthInWordTextBox" 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="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"></asp:TextBox>
                                    </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">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StreetOneLabel" runat="server" Text="Street One"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="StreetOneTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>
                                <br />
                                <br />
                                <div class="cBoth"></div>
                                <br />
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StreetTwoLabel" runat="server" Text="Street Two"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="StreetTwoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StreetThreeLabel" runat="server" Text="Street Three"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="StreetThreeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CityLabel" runat="server" Text="City"></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">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StateLabel" runat="server" Text="State"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <acc:AutoCompleteControl ID="StateTextBox" runat="server" MinimumPrefixLength="2"
                                            MaxLength="50" ContextKey="Common.State" AutoPostBack="true" OnTextChanged="StateTextBox_TextChanged"
                                            DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CountryLabel" runat="server" Text="Country"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <acc:AutoCompleteControl ID="CountryTextBox" runat="server" MinimumPrefixLength="2"
                                            MaxLength="50" ContextKey="Common.Country" AutoPostBack="true" DisplayLoadingStatus="true"
                                            SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ZipCodeLabel" runat="server" Text="Zip Code"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="ZipCodeTextBox" TextMode="Number" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="20" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ContactNoLabel" runat="server" Text="Contact No"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="ContactNoTextBox" TextMode="Number" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="20" SkinID="CustomWidthTextbox" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ContactEmailLabel" runat="server" Text="Contact Email"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="ContactEmailTextBox" 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">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="RemarkLabel" runat="server" Text="Remark"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="MultiLineTextBox"
                                            onmouseenter="showHideTooltip()" MaxLength="200"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="col-md-12 padd-0 mt2">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="PreviousSchoolLabel" runat="server" Text="Previous School/Board" meta:resourcekey="PreviousSchoolLabelResource1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5 display-flex">
                                            <acc:AutoCompleteControl ID="PreviousSchoolTextBox" runat="server" MinimumPrefixLength="2"
                                                Width="225px" ValidateOnTextChanged="false" ContextKey="sCommon.PreviousSchool"
                                                DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="200" AutoPostBack="true" />
                                            <asp:ImageButton ID="PreviousSchoolSearchButton" runat="server" SkinID="FindImage"
                                                ImageUrl="~/Images/icons/icon_find.gif" ToolTip="PreviousSchool Search" OnClick="PreviousSchoolSearchButton_OnClick"
                                                meta:resourcekey="PreviousSchoolSearchButtonResource1" />
                                        </div>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MeritMarksLabel" runat="server" Text="Merit Marks"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MeritMarksTextBox" TextMode="Number" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="13" onblur="javascript:return fnValidateDecimal(this,10,2)"
                                            onKeypress="javascript:return MaskDecimal(event,8,2)" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MeritGradeLabel" runat="server" Text="Merit Grade"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MeritGradeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="20" SkinID="CustomWidthTextbox"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="GenderLabel" runat="server" Text="Gender" SkinID="MandatoryLabel"></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">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ReligionLabel" runat="server" Text="Religion"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="ReligionDropDownList" 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="FamilyCastLabel" runat="server" Text="Family Caste"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="FamilyCastTextBox" 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="FamilySubCastLabel" runat="server" Text="Family Sub Caste"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="FamilySubCastTextBox" 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="CastCategoryLabel" runat="server" Text="Caste Category"></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="outerBox pTop15 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:CheckBox ID="IsHostelRequiredCheckBox" runat="server" Text="Hostel Required" />
                                    </div>
                                </div>
                                <div class="outerBox pTop15 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:CheckBox ID="IsTransportRequiredCheckBox" runat="server" Text="Transport Required" />

                                    </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 id="CustomField1Div" runat="server" visible="false" class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CustomField1AnswerLabel" runat="server"></asp:Label>
                                        <asp:Label ID="MCustomField1AnswerLabel" runat="server" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="CustomField1AnswerTextBox" runat="server" MaxLength="200" SkinID="CustomWidthTextbox" Visible="false"></asp:TextBox>
                                        <asp:DropDownList runat="server" Visible="false" ID="CustomField1DropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control"></asp:DropDownList>
                                    </div>
                                </div>
                                <div id="CustomField2Div" runat="server" visible="false" class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CustomField2AnswerLabel" runat="server"></asp:Label>
                                        <asp:Label ID="MCustomField2AnswerLabel" runat="server" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="CustomField2AnswerTextBox" runat="server" MaxLength="200" SkinID="CustomWidthTextbox" Visible="false"></asp:TextBox>
                                        <asp:DropDownList runat="server" Visible="false" ID="CustomField2DropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control"></asp:DropDownList>
                                    </div>
                                </div>
                                <div id="CustomField3Div" runat="server" visible="false" class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CustomField3AnswerLabel" runat="server"></asp:Label>
                                        <asp:Label ID="MCustomField3AnswerLabel" runat="server" SkinID="MandatoryLabel" Visible="false"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="CustomField3AnswerTextBox" runat="server" MaxLength="200" SkinID="CustomWidthTextbox" Visible="false"></asp:TextBox>
                                        <asp:DropDownList runat="server" Visible="false" ID="CustomField3DropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control"></asp:DropDownList>
                                    </div>
                                </div>

                                <div class="cBoth"></div>

                                <div class="col-md-12" runat="server" id="AdmissionCriteriaFeeGridViewDiv" visible="false">
                                    <asp:HiddenField ID="classIdHiddenField" runat="server" />
                                    <asp:HiddenField ID="AddmissionHiddenField" runat="server" />
                                    <asp:GridView ID="AdmissionCriteriaFeeGridView" runat="server" AutoGenerateColumns="False"
                                        OnRowDataBound="AdmissionCriteriaFeeGridView_RowDataBound" AllowPaging="false" SkinID="" ShowHeader="true"
                                        PagerSettings-Visible="false" CssClass="table table-striped table-bordered table-hover"
                                        DataKeyNames="AdmissionCriteriaFeeId,FeeAmount">
                                        <Columns>
                                            <asp:BoundField DataField="FeeName" HeaderText="Fee Name" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="50%" />
                                            <asp:TemplateField HeaderText="Fee Amount" ItemStyle-Wrap="true" ItemStyle-Width="50%"
                                                HeaderStyle-HorizontalAlign="Left">
                                                <ItemTemplate>
                                                    <asp:TextBox ID="FeeAmountTextBox" runat="server" SkinID="CustomWidthTextBox" Width="350px"
                                                        MaxLength="10" onKeypress="javascript:return MaskDecimal(event,10,2)" Text='<%# Bind("FeeAmount") %>'></asp:TextBox>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                    </asp:GridView>
                                </div>



                                <%--</div>--%>


                                <div class="col-md-12" runat="server" id="DocumentGridViewDiv">
                                    <asp:GridView ID="DocumentGridView" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDataBound="DocumentGridView_RowDataBound"
                                        AllowPaging="false" ShowHeader="True" EmptyDataText="No records Found" CssClass="table table-striped table-bordered" DataKeyNames="DocumentId"
                                        Font-Size="Small">
                                        <Columns>
                                            <asp:TemplateField HeaderText="SrNo." ItemStyle-Width="1%">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblRowNumber" Text='<%# Container.DataItemIndex + 1 %>' runat="server" />
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="DocumentName" HeaderText="Document Name" ItemStyle-HorizontalAlign="Left"
                                                HeaderStyle-HorizontalAlign="left" ItemStyle-Width="30%" />
                                            <asp:TemplateField HeaderText="File Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"
                                                ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                <ItemTemplate>
                                                    <asp:HyperLink ID="UploadedFileHyperLink" runat="server" Text='<%# (Eval("DocumentFileName")) %>' CssClass="UploadedgetHyperLink" Target="_blank"></asp:HyperLink>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="center"
                                                ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                <ItemTemplate>
                                                    <%-- <asp:Button ID="DownloadDocumnetButton" runat="server" CssClass="btn btn-download fas" Text="&#xf019; Download" OnClick="DownloadDocumnetButton_Click"
                                                                    ToolTip="Download" />--%>
                                                    <asp:LinkButton ID="DownloadDocumnetButton" runat="server" CommandName="Download" OnClick="DownloadDocumnetButton_Click"
                                                        Text="Download" CausesValidation="false"></asp:LinkButton>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                        <PagerSettings Visible="False" />
                                    </asp:GridView>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- Sub Container1 Box Ends -->

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

    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/admission-form-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/admission-form")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script type="text/javascript">
        function g() {
            if (WebForm_TextBoxKeyHandler(event) == false)
                return false;
            _doPostBack("<%=FormNoTextBox.ClientID %>", "TextChanged");
        }

    </script>
</asp:Content>
