<%@ page language="C#" autoeventwireup="true" inherits="Pages_OnlineAdmission_AdmissionOtherDetails, App_Web_2btk1e3d" maintainscrollpositiononpostback="true" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!DOCTYPE html>

<html>
<head runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/solid.css" integrity="sha384-wnAC7ln+XN0UKdcPvJvtqIH3jOjs9pnKnq9qX68ImXvOGz2JuFoEiCjT8jyZQX2z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/fontawesome.css" integrity="sha384-HbmWTHay9psM8qyzEKPc8odH4DsOuzdejtnr+OFtDmOcIVnhgReQ4GZBH7uwcjf6" crossorigin="anonymous">
    <link href="../../App_Themes/admission/css/bootstrap.css" rel="stylesheet" />
    <link href="../../App_Themes/admission/css/style.css" rel="stylesheet" />
    <link href="../../App_Themes/admission/css/jquery-ui.css" rel="stylesheet" />
    <link href="http://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet">
</head>
<body>
    <div class="w3l-main">
        <div class="row">
            <div class="col-lg-12">
                <div class="page-header">
                    <h3>
                        <asp:Label ID="schoolnameLabel" runat="server" Text=""></asp:Label>
                    </h3>
                    <h4 class="pTop6">Other Details</h4>
                </div>
            </div>
        </div>
        <form id="form1" runat="server" class="w3l-from container">

            <div class="col-lg-12 padd-0 mt1" runat="server" id="failuremessage" visible="false">
                <div class="alert alert-danger">
                    <i class="fas fa-times"></i>&nbsp;&nbsp;&nbsp;Error ! Please check all the inputs.
                </div>
            </div>

            <div class="form-group" runat="server" id="SiblingDetailsDiv">
                <div class="col-lg-12 padd-0">

                    <div class="topic-header">
                        <h5>
                            <span id="SiblingInformationLabel" runat="server"><i class="fas fa-info-circle bg-brown"></i>&nbsp;Sibling Information</span>
                        </h5>
                    </div>

                    <div class="bg-white col-lg-12">
                        <div class="table-responsive">
                            <asp:GridView ID="AdmissionSetupGridViewSibling" runat="server" Width="100%" AutoGenerateColumns="False"
                                AllowPaging="false" ShowHeader="True"
                                DataKeyNames="Id"
                                CssClass="table table-striped table-bordered">
                                <Columns>
                                    <asp:TemplateField HeaderText="ID No/GR No " ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:TextBox ID="IDNo_GRNoTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="20" Text='<%# Bind("Code") %>'></asp:TextBox>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Name" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:TextBox ID="SiblingNameTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("SiblingName") %>'></asp:TextBox>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Relation" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:TextBox ID="SiblingRelationTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("SiblingRelation") %>'></asp:TextBox>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Standard" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:TextBox ID="SiblingStandardTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("SiblingStandard") %>'></asp:TextBox>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="School Name" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:TextBox ID="SiblingSchoolTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("SiblingSchool") %>'></asp:TextBox>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <PagerSettings Visible="False" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group" runat="server" id="ReferenceDetailsDiv">
                <div class="col-lg-12 padd-0">
                    <div class="topic-header">
                        <h5>
                            <span id="ReferenceInfromationLabel" runat="server" text=""><i class="fas fa-bookmark bg-info"></i>&nbsp;Reference</span>
                        </h5>
                    </div>

                    <div class="col-lg-12 bg-white">
                        <div class="table-responsive">
                            <asp:GridView ID="AdmissionSetupGridViewReference" runat="server" Width="100%" AutoGenerateColumns="False"
                                AllowPaging="false" ShowHeader="True"
                                DataKeyNames="Id"
                                CssClass="table table-striped table-bordered" OnRowDataBound="AdmissionSetupGridViewReference_RowDataBound">
                                <Columns>
                                    <asp:TemplateField HeaderText="Reference Detail" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:TextBox ID="ReferenceDetailTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("ReferenceDetail") %>'></asp:TextBox>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Name" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:TextBox ID="ReferenceNameTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("ReferenceName") %>'></asp:TextBox>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Relation" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:TextBox ID="ReferenceRelationTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("ReferenceRelation") %>'></asp:TextBox>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Contact No" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:TextBox ID="ReferenceContactNoTextBox" runat="server" SkinID="CustomWidthTextBox" MaxLength="100" Text='<%# Bind("ReferenceContactNo") %>'></asp:TextBox>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <PagerSettings Visible="False" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
            </div>


            <div class="col-lg-12">
                <div class="pull-right">
                    <asp:Button ID="BackButton" runat="server" Text="< Back" OnClick="BackButton_Click" CssClass="btn back fas"/>
                    <asp:Button ID="SaveButton" runat="server" Text="Next >" OnClick="SaveButton_Click" CssClass="btn next fas" OnClientClick="return ValidateNull();" />
                </div>
            </div>
        </form>
    </div>
</body>
</html>
<%--<script data-main="../../JavaScript/rjs/encrypt/admission-other-details-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
<script data-main='<%=ResolveUrl("~/JavaScript/rjs/admission-other-details")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
