<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_StudentManagement_StudentProfile, App_Web_lchyc3hl" 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" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="StudentViewResultUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont" valign="top" runat="server" id="ScreenGroup">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="172"
                                        Visible="true" runat="server" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="far fa-user"></i>
                                        <asp:Label ID="Label7" runat="server" Text="My Profile"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27">
                                <asp:Button ID="PrintListButton" runat="server" Text="&#xf15b; Print" SkinID="0"
                                    OnClientClick="return PrintPanel();" Enabled="false" class="btn-report btn fas" />
                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" class="btn-back btn fas" Text="&#xf30a; Back" />
                            </div>
                        </div>
                        <div class="himsBoxContent whiteboxpaddingleft row card-body">
                            <div class="contentHolder">
                                <asp:Panel ID="pnlContents" runat="server" Visible="false">
                                    <table style="margin-left: 5%">
                                        <tr style="width: 100%;">
                                            <td colspan="2" style="padding-top: 25px">
                                                <asp:Image ID="StudentPhotoImg" runat="server" ImageUrl='<%# Eval("StudentPhoto")%>'
                                                    Width="80px" Height="80px" CssClass="studentprofile" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>

                                                <table>
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>
                                                                <asp:Label ID="TitleCodelabel" runat="server" /></b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="Codelabel" runat="server" Text='<%# Eval("Code") %>' CssClass="fieldlabel" />
                                                            <br />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table>
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>Student Name :</b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="FirstNamelabel" runat="server" Text='<%# Eval("FirstName") %>' CssClass="fieldlabel" />
                                                            <br />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table>
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>Class-Div :</b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="ClassDivlabel" runat="server" Text='<%# Eval("ClassDiv") %>' CssClass="fieldlabel" />
                                                            <br />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table>
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>RollNo :</b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="RollNolabel" runat="server" Text='<%# Eval("RollNo") %>' CssClass="fieldlabel" />
                                                            <br />
                                                        </td>
                                                    </tr>
                                                </table>

                                            </td>
                                            <td style="padding-left: 8%">

                                                <table style="padding-left: 20px;">
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>Academic Year :</b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="BatchNamelabel" runat="server" Text='<%# Eval("BatchName") %>' CssClass="fieldlabel" />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table>
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>Birth Place :</b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="BirthPlacelabel" runat="server" Text='<%# Eval("BirthPlace") %>' CssClass="fieldlabel" />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table>
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>Birth Date :</b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="DateOfBirthlabel" runat="server" Text='<%# Eval("DateOfBirth","{0:dd/MM/yyyy}") %>'
                                                                CssClass="fieldlabel" />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table>
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>Blood Group :</b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="BloodGrouplabel" runat="server" Text='<%# Eval("BloodGroup") %>' CssClass="fieldlabel" />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table>
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>House :</b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="Houselabel" runat="server" Text='<%# Eval("House") %>' CssClass="fieldlabel" />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table>
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>Gender :</b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="Genderlabel" runat="server" Text='<%# Eval("Gender") %>' CssClass="fieldlabel" />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table>
                                                    <tr>
                                                        <td style="width: 100px;">
                                                            <b>Contact No. :</b>
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="ContactNolabel" runat="server" Text='<%# Eval("ContactNo") %>' CssClass="fieldlabel" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>

                                                <b>Email :</b><br />
                                                <asp:Label ID="ParentEmaillabel" runat="server" Text='<%# Eval("ParentEmail") %>' CssClass="fieldlabel" />
                                                <br />
                                                <b>SMS No. :</b>
                                                <asp:Label ID="ParentContactNolabel" runat="server" Text='<%# Eval("ParentContactNo") %>'
                                                    CssClass="fieldlabel" />
                                            </td>
                                            <td style="padding-left: 8%">

                                                <b>Street Address :</b><br />
                                                <asp:Label ID="PresentAddresslabel" runat="server" Text='<%# Eval("PresentAddress") %>'
                                                    CssClass="fieldlabel" />
                                                <br />
                                                <asp:Label ID="Citylabel" runat="server" Text='<%# Eval("City") %>' CssClass="fieldlabel" />
                                                <asp:Label ID="PresentZipCodelabel" runat="server" Text='<%# Eval("PresentZipCode") %>' CssClass="fieldlabel" />
                                                <asp:Label ID="Statelabel" runat="server" Text='<%# Eval("State") %>' CssClass="fieldlabel" />
                                                <asp:Label ID="Countrylabel" runat="server" Text='<%# Eval("Country") %>' CssClass="fieldlabel" />
                                            </td>
                                        </tr>
                                    </table>
                                    <table style="visibility: hidden">
                                        <tr>
                                            <td colspan="2">
                                                <asp:Label ID="Label4" Text="Father Information" runat="server" Font-Bold="True"
                                                    meta:resourcekey="GridViewLabelResource1" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <b>Father Name :</b>
                                                <asp:Label ID="FatherNamelabel" runat="server" Text='<%# Eval("FatherName") %>' CssClass="fieldlabel" />
                                            </td>
                                            <td>
                                                <b>Qualification :</b>
                                                <asp:Label ID="Qualificationlabel" runat="server" Text='<%# Eval("Qualification") %>' CssClass="fieldlabel" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <b>Occupation :</b>
                                                <asp:Label ID="Occupationlabel" runat="server" Text='<%# Eval("Occupation") %>' CssClass="fieldlabel" />
                                            </td>
                                            <td>
                                                <b>Phone No :</b>
                                                <asp:Label ID="FatherContactNolabel" runat="server" Text='<%# Eval("FatherContactNo") %>' CssClass="fieldlabel" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <b>Email :</b>
                                                <asp:Label ID="FatherMaillabel" runat="server" Text='<%# Eval("FatherMail") %>' CssClass="fieldlabel" />
                                            </td>
                                            <td>
                                                <b>Office Address :</b>
                                                <asp:Label ID="FatherOfficeAddresslabel" runat="server" Text='<%# Eval("FatherOfficeAddress") %>'
                                                    CssClass="fieldlabel" />
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:Button ID="FullProfileButton" runat="Server" OnClick="FullProfileButton_Click" SkinID="0"
                                        class="btn btn-back fas" Text="Full Profile" />
                                </asp:Panel>

                            </div>
                        </div>
                    </div>
                </div>
                </tr>
                    </table>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/student-profile-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/student-profile")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <%--mantis: 40910--%>
    <script type="text/javascript">
        function RedirectToMigration(StudentCenterUrl) {
            var newTab = window.open(StudentCenterUrl, '_blank');
            window.location.href = '../../../Pages/BaseFramework/MyDashBoard.aspx';
        }
    </script>
</asp:Content>
