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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <script>
        var SMS;
        var EmailId;
        var StatusId;
        var DivisionId;
        var AcademicId;
        var AttendanceTypeId;
        $(document).ready(function () {
            var myurl = window.location.href;
            var keyval = myurl.split('?')[1].split('&');
            AcademicId = keyval[0].split('=')[1].toString();
            BatchId = keyval[1].split('=')[1].toString();
            //ClassId = keyval[0].split('=')[1].toString();
            //StudentId = parseInt(keyval[3].split('=')[1].toString());
            //statusId = keyval[1].split('=')[1].toString();
            //DivisionId = keyval[2].split('=')[1].toString() ;
            // for (var x = 0, y = keyval.length; x < y; x += 1);
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/StudentProfileDetailGet",
                data: JSON.stringify({ "AcademicId": parseInt(AcademicId), "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    //alert(result.d);
                    var obj = (result.d);
                    SMS = obj[0].ParentContactNo;
                    EmailId = obj[0].ParentEmail;
                    //mantis : 42059, add required fields
                    var innerstr = "<div class='col-md-3'><img src=" + 'data:image/jpg;base64,' + obj[0].StudentPhoto + " height='60px'  Width='60px'" + " ID='StudentPhotoImg'/></div>" +
                            " <div class='col-md-9 row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Student Name :&nbsp;</b><Label ID='NameLabel'>" + obj[0].StudentName + "</label></div>" +
                            " <div class='col-md-6  height35 '><b class='text-muted'>Academic Year :&nbsp;</b><Label ID='BatchNameLabel'>" + obj[0].AcademicYear + "</label></div></div>" +
                            "<div class='col-md-3'></div>" +
                            " <div class='col-md-9 row'>" +
                            " <div class='col-md-6 height35'><b class='text-muted'>Class-Div : &nbsp;</b><Label ID='ClassDivisionLabel'>" + obj[0].ClassDiv + "</label></div>" +
                            " <div class='col-md-6  height35 '><b class='text-muted'>Gr No : &nbsp;</b><Label ID='CodeLabel' >" + obj[0].Code + "</label></div></div>" +
                            "<div class='col-md-3'></div>" +
                            " <div class='col-md-9 row'>" +
                            " <div class='col-md-6 height35 '><b class='text-muted'>RollNo : &nbsp;</b><Label ID='RollNoLabel'>" + obj[0].RollNo + "</label></div> </div></div>";


                    var ClassTeacehDetails = " <div class='col-md-3'><img src=" + 'data:image/jpg;base64,' + obj[0].TeacherPhoto + " height='60px'  Width='60px'" + " ID='TeacherPhotoImg'/></div>" +
                            "<div class='col-md-9 row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Name : &nbsp;</b><Label ID='NameLabel' >" + obj[0].TeacherFullName + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Designation :&nbsp;</b><Label ID='TeacherDesignationLabel'  >" + obj[0].TeacherDesignation + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Qualification :&nbsp;</b><Label ID='TeacherQualificationLabel'>" + obj[0].TeacherQualification + "</label></div>" +
                            "</div>";
                    //var AddmissionDate = new Date(obj[0].AdmissionDate)
                    var AdmissionDate = obj[0].AdmissionDate
                    if (AdmissionDate == "01/01/0001") {
                        AdmissionDate = "";
                    }
                    else {
                        AdmissionDate = AdmissionDate;
                    }
                    //var InactiveDate = new Date(obj[0].InactiveDate)
                    var InactiveDate = obj[0].InactiveDate
                    if (InactiveDate == "01/01/0001") {
                        InactiveDate = "";
                    }
                    else {
                        InactiveDate = InactiveDate;
                    }
                    //var LCDate = new Date(obj[0].LCDate)
                    var LCDate = obj[0].LCDate
                    if (LCDate == "01/01/0001") {
                        LCDate = "";
                    }
                    else {
                        LCDate = LCDate;
                    }
                    //Changes for Mantis Id: 41273
                    var LeftDate = obj[0].LeftDate
                    if (LeftDate == "01/01/0001") {
                        LeftDate = "";
                    }
                    else {
                        LeftDate = LeftDate;
                    }

                    // mantis : 0040857 Label Name As Fee Category Updated
                    var AdmissionDetails = "<div class='midborder profilediv paddingbottom col-md-6'>" +
                            "<div class='col-md-12 height35 '><b class='text-muted'>Admission Number : &nbsp;</b><Label ID='AdmissionNumberLabel'>" + obj[0].AdmissionNumber + "</label></div>" +
                            "<div class='col-md-12 height35 '><b class='text-muted'>Admission Standard : &nbsp;</b><Label ID='AdmissionStandardLabel'>" + obj[0].AdmissionStandard + "</label></div>" +
                          //"<div class='col-md-12  height35 '><b class='text-muted'>Admission Date :&nbsp;</b><Label ID='AdmissionDateLabel'  CssClass='fieldlabel1'>" + AddmissionDate.getDate() + '/' + (AddmissionDate.getMonth() + 1) + '/' + AddmissionDate.getFullYear() + "</label></div>" +
                            "<div class='col-md-12  height35 '><b class='text-muted'>Admission Date :&nbsp;</b><Label ID='AdmissionDateLabel'  CssClass='fieldlabel1'>" + AdmissionDate + "</label></div>" +
                            "<div class='col-md-12  height35 '><b class='text-muted'>Previous School :&nbsp;</b><Label ID='PreviousSchoolLabel'  CssClass='fieldlabel1'>" + obj[0].PreviousSchool + "</label></div>" +
                            "<div class='col-md-12  height35 '><b class='text-muted'>Fees Category :&nbsp;</b><Label ID='StudentCategoryLabel'  CssClass='fieldlabel1'>" + obj[0].StudentAdmissionCategory + "</label></div>" +
                            "<div class='col-md-12  height35 '><Label ID='RepeaterLabel'  CssClass='fieldlabel1' BackColor='#ff3300'></label></div>" +
                            "<div class='col-md-12  height35 '><b class='text-muted'>Previous Standard :&nbsp;</b><Label ID='PreviousStandardLabel'CssClass='fieldlabel1'>" + obj[0].PreviousStandard + "</label></div>" +
                            "</div><div id='LeftDetailDiv'  class='col-md-6'><div class='midborder profilediv paddingbottom'>" +
                            "<div class='col-md-12'><Label ID='LeftDetailsLabel'  Text='Left Details' Font-Underline='true' ></label></div>" +
                          //"<div class='col-md-12  height35 '><b class='text-muted'>InActive Date :&nbsp;</b><Label ID='InactiveDateLabel'  >" + InactiveDate.getDate() + '/' + (InactiveDate.getMonth() + 1) + '/' + InactiveDate.getFullYear() + "</label></div>" +
                            "<div class='col-md-12  height35 '><b class='text-muted'>InActive Date :&nbsp;</b><Label ID='InactiveDateLabel'  >" + InactiveDate + "</label></div>" +
                            "<div class='col-md-12  height35 '><b class='text-muted'>Left Standard :&nbsp;</b><Label ID='LeftStandardLabel'>" + obj[0].LeftStandard + "</label></div>" +
                            "<div class='col-md-12  height35 '><b class='text-muted'>LC Number : &nbsp;</b><Label ID='LcNumberLabel'>" + obj[0].LCNumber + "</label></div>" +
                          //"<div class='col-md-12  height35 '><b class='text-muted'>LC Date :&nbsp;</b><Label ID='LcDateLabel'  CssClass='fieldlabel1' >" + LCDate.getDate() + '/' + (LCDate.getMonth() + 1) + '/' + LCDate.getFullYear() + "</label></div></div></div>";
                            "<div class='col-md-12  height35 '><b class='text-muted'>LC Date :&nbsp;</b><Label ID='LcDateLabel'  CssClass='fieldlabel1' >" + LCDate + "</label></div>" +
                            "<div class='col-md-12 height35 '><b class='text-muted'>Left Date :&nbsp;</b><Label ID='LeftDateLabel'  CssClass='fieldlabel1' >" + LeftDate + "</label></div></div></div>";

                    var CollegeAdmissionDetails = "   <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Transfer : &nbsp; </b><Label ID='IsTransferLabel' >" + obj[0].IsTransfer + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Transfer From : &nbsp; </b><Label ID='TransferFromLabel' >" + obj[0].TransferFrom + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Certificate Holder : &nbsp; </b><Label ID='IsCertificateHolderCheckBox'>" + obj[0].IsCertificateHolder + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Certificate Name : &nbsp; </b><Label ID='IsCertificateHolderLabel' >" + obj[0].CertificateName + "</asp:Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>TFWS : &nbsp; </b><Label ID='IsTFWSLabel'  >" + obj[0].IsTFWS + "</label></div>" +
                            "<div class='col-md-6 height35 '><b class='text-muted'>Marital Status : &nbsp; </b><Label ID='MaritalStatusLabel' >" + obj[0].MaritalStatus + "</label></div></div>";
                    var SSCResultDetail = "<div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Board : &nbsp; </b><Label ID='SSCBoardLabel'  >" + obj[0].SSCBoard + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>School : &nbsp; </b><Label ID='SSCSchooolLabel' >" + obj[0].SSCSchool + "</asp:Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Passing Year: &nbsp; </b><Label ID='SSCPassingYearLabel'>" + obj[0].SSCPassingYear + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Obtain Marks : &nbsp; </b><Label ID='Label47' >" + obj[0].SSCObtainMarks + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Out Of Marks : &nbsp; </b><Label ID='SSCOutOfMarksLabel'>" + obj[0].SSCOutOfMarks + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Math Marks : &nbsp; </b><Label ID='SSCMathMarksLabel'>" + obj[0].SSCMathMarks + "</asp:Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Math OutOf Marks: &nbsp; </b><Label ID='SSCMathOutOfMarksLabel'>" + obj[0].SSCMathOutOfMarks + "</Label></div>" +
                            "</div>";
                    var HSCResultDetail = " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Board : &nbsp; </b><Label ID='HSCBoardLabel'>" + obj[0].HSCBoard + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>School : &nbsp; </b><Label ID='HSCSchoolLabel'>" + obj[0].HSCSchool + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Passing Year: &nbsp; </b><Label ID='HSCPassingYearLabel'  >" + obj[0].HSCPassingYear + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Obtain Marks : &nbsp; </b><Label ID='HSCOutOfMarksLabel' >" + obj[0].HSCOutOfMarks + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Percentage : &nbsp; </b><Label ID='HSCPercentageLabel' >" + obj[0].HSCPercentage + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Physics Marks: &nbsp; </b><Label ID='HSCPhysicsMarksLabel' >" + obj[0].HSCPhysicsMarks + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Physics OutOf Marks : &nbsp; </b><Label ID='HSCPhysicsOutOfMarksLabel'>" + obj[0].HSCPhysicsOutOfMarks + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Chemistry Marks : &nbsp; </b><Label ID='HSCChemistryMarksLabel' >" + obj[0].HSCChemistryMarks + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Chemistry OutOfMarks: &nbsp; </b><Label ID='HSCChemistryOutOfMarksLabel' >" + obj[0].HSCChemistryOutOfMarks + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Maths Marks : &nbsp; </b><Label ID='HSCMathMarksLabel' >" + obj[0].HSCMathMarks + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Maths OutOfMarks : &nbsp; </b><Label ID='HSCMathOutOfMarksLabel'>" + obj[0].HSCMathOutOfMarks + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Biology Marks: &nbsp; </b><Label ID='HSCBiologyMarksLabel' >" + obj[0].HSCBiologyMarks + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>BiologyOutOfMarks : &nbsp; </b><Label ID='HSCBiologyOutOfMarksLabel' " + obj[0].HSCBiologyOutOfMarks + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>PCMMarks : &nbsp; </b><Label ID='PCMMarksLabel' >" + obj[0].PCMMarks + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>PCBMarks: &nbsp; </b><Label ID='PCBMarksLabel' >" + obj[0].PCBMarks + "</label></div>" +
                            "</div>";
                    var JEEResultDetails = "<div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>RollNo : &nbsp; </b><Label ID='JEERollNoLabel' >" + obj[0].JEERollNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>MeritNo : &nbsp; </b><Label ID='JEEMeritNoLabel'  >" + obj[0].JEEMeritNo + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>MeritMarks: &nbsp; </b><Label ID='JEEMeritMarksLabel' >" + obj[0].JEEMeritMarks + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>OutOfMarks : &nbsp; </b><Label ID='JEEOutOfMarksLabel' >" + obj[0].JEEOutOfMarks + "</Label></div>" +
                            "</div>";
                    var DiplomaResultDetail = " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Board : &nbsp; </b><Label ID='DiplomaBoardLabel'>" + obj[0].DiplomaBoard + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>College : &nbsp; </b><Label ID='DiplomaCollegeLabel' >" + obj[0].DiplomaCollege + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>PassingYear: &nbsp; </b><Label ID='DiplomaPassingYearLabel' >" + obj[0].DiplomaPassingYear + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>ObtainMarks : &nbsp; </b><Label ID='DiplomaObtainMarksLabel'>" + obj[0].DiplomaObtainMarks + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>OutOfMarks : &nbsp; </b><Label ID='DiplomaOutOfMarksLabel'  >" + obj[0].DiplomaOutOfMarks + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Percentage : &nbsp; </b><Label ID='DiplomaPercentageLabel' >" + obj[0].DiplomaPercentage + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Application No : &nbsp; </b><Label ID='ApplicationNoLabel'  >" + obj[0].ApplicationNo + "</label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Admission Round : &nbsp; </b><Label ID='AdmissionRoundLabel'>" + obj[0].AdmissionRound + "</Label></div>" +
                            "</div>";
                    //var DateOfBirth = new Date(obj[0].DateOfBirth)
                    var DateOfBirth = obj[0].DateOfBirth
                    if (DateOfBirth == "01/01/0001") {
                        DateOfBirth = "";
                    }
                    else {
                        DateOfBirth = DateOfBirth;
                    }
                    var DemographicDetails = "  <div class='midborder profilediv paddingbottom row'>" +
                          //"<div class='col-md-6  height35 '><b class='text-muted'>Date Of Birth : &nbsp; </b><Label ID='DateOfBirthLabel'>" + DateOfBirth.getDate() + '/' + (DateOfBirth.getMonth() + 1) + '/' + DateOfBirth.getFullYear() + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Date Of Birth : &nbsp; </b><Label ID='DateOfBirthLabel'>" + DateOfBirth + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>In Words : &nbsp; </b><Label ID='BirthDateInWordLabel' >" + obj[0].BirthDateInWord + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Birth Place : &nbsp; </b><Label ID='BirthPlaceLabel'>" + obj[0].BirthPlace + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>District : &nbsp; </b><Label ID='BirthDistrictLabel'>" + obj[0].BirthDistrict + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Gender : &nbsp; </b><Label ID='GenderLabel'>" + obj[0].Gender + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Religion : &nbsp; </b><Label ID='ReligionLabel' >" + obj[0].Religion + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Family Caste : &nbsp; </b><Label ID='FamilyCasteLabel'>" + obj[0].FamilyCast + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Family Sub Cast : &nbsp; </b><Label ID='FamilySubCastLabel'>" + obj[0].FamilySubCast + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Caste Category : &nbsp; </b><Label ID='CategoryLabel'>" + obj[0].CasteCategory + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Mother Tongue : &nbsp; </b><Label ID='MotherTongueLabel'>" + obj[0].MotherTongue + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Nationality: &nbsp; </b><Label ID='NationalityLabel' >" + obj[0].Nationality + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Birth State: &nbsp; </b><Label ID='BirthStateLabel'>" + obj[0].BirthState + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Birth Country: &nbsp; </b><Label ID='BirthCountryLabel'>" + obj[0].BirthCountry + "</Label></div>" +
                            "</div>";
                    //Changed the value of Distance From School label for mantis : 0030712
                    var Communication = " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-12 '><Label ID='Label14'  Text='Contact Details' Font-Underline='true' Font-Size='14px' Font-Bold='true' CssClass='pb5' > </Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Primary Email : &nbsp; </b><Label ID='ParentEmailLabel' >" + obj[0].ParentEmail + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Primary SMS : &nbsp; </b><Label ID='ParentContactNoLabel'>" + obj[0].ParentContactNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Student Email : &nbsp; </b><Label ID='StudentEmailLabel' >" + obj[0].StudentEmail + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Student SMS : &nbsp; </b><Label ID='StudentContactNoLabel'>" + obj[0].StudentContactNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Distance From School : &nbsp; </b><Label ID='DistanceLabel'>" + obj[0].PresentDistanceFromSchool + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>WhatsApp Contact No : &nbsp; </b><Label ID='DistanceLabel'>" + obj[0].WhatsAppContactNo + "</Label></div></div>" +
                            "<div class='col-md-12'><Label ID='PresentLabel'  Text='Present Address' Font-Underline='true'Font-Size='14px' Font-Bold='true' CssClass='pb5' > </Label></div>" +
                            " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Address : &nbsp; </b><Label ID='PresentAddressLabel'>" + obj[0].PresentAddress + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>City : &nbsp; </b><Label ID='PresentCityLabel'>" + obj[0].PresentCity + "</Label></div></div>" +
                            " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>State : &nbsp; </b><Label ID='PresentStateLabel'>" + obj[0].PresentState + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Pin Code : &nbsp; </b><Label ID='PresentZipCodeLabel'>" + obj[0].PresentZipCode + "</Label></div></div>" +
                            " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Contact No. : &nbsp; </b><Label ID='PresentContactNoLabel'>" + obj[0].PresentContactNo + "</Label></div></div>" +
                            "<div class='col-md-12'><Label ID='EmergencyLabel'  Text='Emergency Address' Font-Underline='true'Font-Size='14px' Font-Bold='true' CssClass='pb5' > </Label></div>" +
                            " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Address : &nbsp; </b><Label ID='EmergencyAddressLabel'>" + obj[0].EmergencyAddress + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>City : &nbsp; </b><Label ID='EmergencyCityLabel' >" + obj[0].EmergencyCity + "</Label></div></div>" +
                            " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>State : &nbsp; </b><Label ID='EmergencyStateLabel'  >" + obj[0].EmergencyState + " </Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Pin Code : &nbsp; </b><Label ID='EmergencyZipCodeLabel' >" + obj[0].EmergencyZipCode + " </Label></div></div>" +
                            " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Contact No. : &nbsp; </b><Label ID='EmergencyContactNoLabel'> " + obj[0].EmergencyContactNo + "</Label></div></div>" +
                            "<div class='col-md-12'><Label ID='PermanentLabel'  Text='Permanent Address' Font-Underline='true'Font-Size='14px' Font-Bold='true' CssClass='pb5' > </Label></div>" +
                            " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Address : &nbsp; </b><Label ID='PermanentAddressLabel' > " + obj[0].PermanentAddress + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>City : &nbsp; </b><Label ID='PermanentCityLabel'>" + obj[0].PermanentCity + "</Label></div></div>" +
                            " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>State : &nbsp; </b><Label ID='PermanentStateLabel' >" + obj[0].PermanentState + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Pin Code : &nbsp; </b><Label ID='PermanentZipCodeLabel' >" + obj[0].PermanentZipCode + "</Label></div></div>" +
                            " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Contact No. : &nbsp; </b><Label ID='PermanentContactNoLabel'>" + obj[0].PermanentContactNo + "</Label></div></div>";


                    var TransportDetails = " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-12'><Label ID='Label31'  Text='Pickup Details' Font-Underline='true'Font-Size='14px' Font-Bold='true' CssClass='pb5' > </Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Pickup Route : &nbsp; </b><Label ID='BusRouteLabel'>" + obj[0].BusRoute + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Pickup Point : &nbsp; </b><Label ID='Label24' >" + obj[0].BusRouteDestination + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Vehicle Name : &nbsp; </b><Label ID='Label33' >" + obj[0].VehicleName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Vehicle Registration Number : &nbsp; </b><Label ID='Label34' >" + obj[0].VehicleRegistrationNumber + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Type Of Vehicle : &nbsp; </b><Label ID='Label35'  >" + obj[0].TypeOfVehicle + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Driver Name : &nbsp; </b><Label ID='BusRouteDestinationLabel' >" + obj[0].DriverName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Driver Mobile No : &nbsp; </b><Label ID='Label21' >" + obj[0].DriverMobileNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Conductor Name : &nbsp; </b><Label ID='Label22' >" + obj[0].ConductorName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Conductor Mobile No : &nbsp; </b><Label ID='Label23'>" + obj[0].ConductorMobileNo + "</Label></div>" +
                            "<div class='col-md-12'><Label ID='Label32'  Text='Drop Details' Font-Underline='true'Font-Size='14px' Font-Bold='true' CssClass='pb5' ></Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Drop Route : &nbsp; </b><Label ID='Label25'  >" + obj[0].DropRoute + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Drop Point : &nbsp; </b><Label ID='Label30' >" + obj[0].DropDestination + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Vehicle Name : &nbsp; </b><Label ID='Label36' >" + obj[0].DropVehicleName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Vehicle Registration Number : &nbsp; </b><Label ID='Label37'>" + obj[0].DropVehicleRegistrationNumber + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Type Of Vehicle : &nbsp; </b><Label ID='Label38'>" + obj[0].DropTypeOfVehicle + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Driver Name : &nbsp; </b><Label ID='Label26'  >" + obj[0].DropRouteDriverName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Driver Mobile No : &nbsp; </b><Label ID='Label27'  >" + obj[0].DropRouteDriverMobileNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Conductor Name : &nbsp; </b><Label ID='Label28'  >" + obj[0].DropRouteConductorName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Conductor Mobile No : &nbsp; </b><Label ID='Label29'  >" + obj[0].DropRouteConductorMobileNo + "</Label></div>" +
                            "</div>";
                    var GovRegDetails = "<div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>UID Number: &nbsp; </b><Label ID='UidnumberLabel'>" + obj[0].UIDNumber + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Adhaar Number : &nbsp; </b><Label ID='AdhaarnumberLabel'>" + obj[0].AdhaarNumber + "</Label></div>" +
                            "</div>";
                    var FamilyInformation = "<div class='midborder profilediv paddingbottom row'><div class='col-md-12'>" +
                            "<Label>Father Contact Details</Label></div>" +
                            "<div class='col-md-3'><img src=" + 'data:image/jpg;base64,' + obj[0].FatherPhoto + " height='60px'  Width='60px'" + " ID='FatherPhotoImg'/></div>" +
                            "<div class='col-md-9 row'><div class='col-md-6  height35 '><b class='text-muted'>Name : &nbsp; </b><Label ID='FatherNameLabel' >" + obj[0].FatherName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Qualification : &nbsp; </b><Label ID='FatherQualificationLabel'>" + obj[0].FatherQualification + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Occupation : &nbsp; </b><Label ID='FatherOccupationLabel'>" + obj[0].FatherOccupation + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Contact No : &nbsp; </b><Label ID='FatherContactNoLabel' >" + obj[0].FatherContactNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Email : &nbsp; </b><Label ID='FatherMailLabel'>" + obj[0].FatherMail + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Office Address : &nbsp; </b><Label ID='FatherOfficeAddressLabel'>" + obj[0].FatherOfficeAddress + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Are You ExStudent Of This School : &nbsp; </b><Label ID='Label45' CssClass='fieldlabel1' >" + obj[0].IsFatherExStudent + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>PassOutYear : &nbsp; </b><Label ID='Label44' >" + obj[0].FatherPassOutYear + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Designation : &nbsp; </b><Label ID='FatherDesignationLabel' CssClass='fieldlabel1' >" + obj[0].FatherDesignation + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Organization : &nbsp; </b><Label ID='FatherOrganizationLabel' >" + obj[0].FatherOrganization + "</Label></div>" +
                            "</div></div><div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-12'>" +
                            "<Label>Mother Contact Details</Label></div>" +
                            "<div class='col-md-3'><img src=" + 'data:image/jpg;base64,' + obj[0].MotherPhoto + " height='60px'  Width='60px'" + " ID='MotherPhotoImg'/></div>" +
                            "<div class='col-md-9 row'><div class='col-md-6  height35 '><b class='text-muted'>Name : &nbsp; </b><Label ID='Label5'>" + obj[0].MotherName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Qualification : &nbsp; </b><Label ID='Label8' >" + obj[0].MotherQualification + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Occupation : &nbsp; </b><Label ID='Label9'>" + obj[0].MotherOccupation + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Contact No : &nbsp; </b><Label ID='Label10'>" + obj[0].MotherContactNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Email : &nbsp; </b><Label ID='Label11'>" + obj[0].MotherMail + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Office Address : &nbsp; </b><Label ID='Label12'>" + obj[0].MotherOfficeAddress + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Are You ExStudent Of This School : &nbsp; </b><Label ID='Label46'>" + obj[0].IsMotherExStudent + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>PassOutYear : &nbsp; </b><Label ID='Label52'  >" + obj[0].MotherPassOutYear + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Designation : &nbsp; </b><Label ID='MotherDesignationLabel'>" + obj[0].MotherDesignation + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Organization : &nbsp; </b><Label ID='Label12'>" + obj[0].MotherOrganization + "</Label></div>" +
                            "</div></div><div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-12'>" +
                            "<Label>Relative Contact Details</Label></div>" +
                            "<div class='col-md-3 pTop5'><img src=" + 'data:image/jpg;base64,' + obj[0].RelativePhoto + " height='60px'  Width='60px'" + " ID='RelativePhotoImg'/></div>" +
                            "<div class='col-md-9 row'><div class='col-md-6  height35 '><b class='text-muted'>Relationship : &nbsp; </b><Label ID='RelationshipLabel'>" + obj[0].RelationShip + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Name : &nbsp; </b><Label ID='RelativeNameLabel'>" + obj[0].RelativeName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Qualification : &nbsp; </b><Label ID='RelativeQualificationLabel'>" + obj[0].RelativeQualification + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Occupation : &nbsp; </b><Label ID='RelativeOccupationLabel'>" + obj[0].RelativeOccupation + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Contact No : &nbsp; </b><Label ID='RelativeContactNoLabel'>" + obj[0].RelativeContactNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Email : &nbsp; </b><Label ID='RelativeMailLabel' >" + obj[0].RelativeMail + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Office Address : &nbsp; </b><Label ID='RelativeOfficeAddressLabel'>" + obj[0].RelativeOfficeAddress + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Are You ExStudent Of This School : &nbsp; </b><Label ID='Label53' >" + obj[0].IsRelativeExStudent + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>PassOutYear : &nbsp; </b><Label ID='Label54'>" + obj[0].RelativePassOutYear + "</Label></div>" +
                             "<div class='col-md-6  height35 '><b class='text-muted'>Designation : &nbsp; </b><Label ID='RelativeDesignationLabel'>" + obj[0].RelativeDesignation + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Organization : &nbsp; </b><Label ID='RelativeMailLabel' >" + obj[0].RelativeOrganization + "</Label></div>" +
                            "</div></div>";
                    var SiblingDetails = "<table class='table table-striped table-bordered table-hover'>" +
                            "<thead><tr><th><b class=''><Label ID='Label17' Font-Bold='true' >Sibling Name</Label></b></th>" +
                            "<th><b class=''><Label ID='Label18' Font-Bold='true' >Sibling Institute</Label></b></th>" +
                            "<th><b class=''><Label ID='Label39' Font-Bold='true' >Sibling Class</Label></b></th>" +
                            "<th><b class=''><Label ID='Label40' >Sibling Age</Label></b></th>" +
                            "<th><b class=''><Label ID='Label41' Font-Bold='true' >Sibling Relation</Label></b></th></tr></thead>" +
                            "<tbody>" +
                            "<tr><td style='width: 20%'><Label ID='SiblingName1Label' >" + obj[0].SiblingName1 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingInstitue1Label'>" + obj[0].SiblingInstitue1 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingClass1Label' >" + obj[0].SiblingClass1 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingAge1Label'>" + obj[0].SiblingAge1 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingRelation1Label' >" + obj[0].SiblingRelation1 + "</Label></td></tr>" +
                            "<tr><td style='width: 20%'><Label ID='SiblingName2Label'>" + obj[0].SiblingName2 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingInstitue2Label' >" + obj[0].SiblingInstitue2 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingClass2Label' >" + obj[0].SiblingClass2 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingAge2Label' >" + obj[0].SiblingAge2 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingRelation2Label'>" + obj[0].SiblingRelation2 + "</Label></td></tr>" +
                            "<tr><td style='width: 20%'><Label ID='SiblingName3Label' >" + obj[0].SiblingName3 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingInstitue3Label' >" + obj[0].SiblingInstitue3 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingClass3Label'>" + obj[0].SiblingClass3 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingAge3Label' >" + obj[0].SiblingAge3 + "</Label></td>" +
                            "<td style='width: 20%'><Label ID='SiblingRelation3Label' >" + obj[0].SiblingRelation3 + "</Label></td></tr>" +
                            "</tbody>" +
                            "</table>";
                    var HealthInformation = " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Blood Group : &nbsp; </b><Label ID='BloodGroupLabel' >" + obj[0].BloodGroup + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Identification Marks : &nbsp; </b><Label ID='FatherQualificationLabel'>" + obj[0].IdentificationMark + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Family Doctor : &nbsp; </b><Label ID='FamilyDoctorNameLabel'>" + obj[0].FamilyDoctorName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Contact No. : &nbsp; </b><Label ID='FamilyDoctorContactNoLabel' >" + obj[0].FamilyDoctorContactNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Physical Deformity : &nbsp; </b><Label ID='IsPysicalDeformityLabel' >" + obj[0].IsPysicalDeformity + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Deformity Remarks : &nbsp; </b><Label ID='PysicalDeformityRemarkLabel' >" + obj[0].PysicalDeformityRemark + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Major Illness : &nbsp; </b><Label ID='IsMajorIllnessLabel' >" + obj[0].IsMajorIllness + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Illness Remarks : &nbsp; </b><Label ID='MajorIllnessRemarkLabel' >" + obj[0].MajorIllnessRemark + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Allergy : &nbsp; </b><Label ID='IsAllergyLabel'  >" + obj[0].IsAllergy + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Allergy Remarks : &nbsp; </b><Label ID='AllergyRemarkLabel' >" + obj[0].AllergyRemark + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Past History : &nbsp; </b><Label ID='IsPastHistoryLabel'>" + obj[0].IsPastHistory + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>History Remarks : &nbsp; </b><Label ID='PastHistoryRemarkLabel' >" + obj[0].PastHistoryRemark + "</Label></div>" +
                            "</div>";
                    var HostelDetails = "<div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Hostel : &nbsp; </b><Label ID='HostelLabel'>" + obj[0].Hostel + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Room No. : &nbsp; </b><Label ID='RoomNoLabel'>" + obj[0].RoomNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Warden : &nbsp; </b><Label ID='WardenNameLabel' >" + obj[0].WardenName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Warden Phone No. : &nbsp; </b><Label ID='WardenPhoneNoLabel' >" + obj[0].WardenPhoneNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Extention No. : &nbsp; </b><Label ID='WardenExtNoLabel'> " + obj[0].WardenExtNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Mobile No. : &nbsp; </b><Label ID='WardenMobileNoLabel' >" + obj[0].WardenMobileNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Assigned To : &nbsp; </b><Label ID='AssignedRoomByLabel'>" + obj[0].AssignedRoomBy + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Phone No. : &nbsp; </b><Label ID='AssignedRoomByPhoneNoLabel'>" + obj[0].AssignedRoomByPhoneNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Extention No. : &nbsp; </b><Label ID='AssignedRoomByExtNoLabel'>" + obj[0].AssignedRoomByExtNo + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Mobile No. : &nbsp; </b><Label ID='AssignedRoomByMobileNoLabel' >" + obj[0].AssignedRoomByMobileNo + "</Label></div>" +
                            "</div>";
                    var ClubDetails = "<div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>House : &nbsp; </b><Label ID='HouseLabel'>" + obj[0].House + "</Label></div>" +
                             "<div class='col-md-6  height35 '><b class='text-muted'>Club : &nbsp; </b><Label ID='ClubLabel'>" + obj[0].ClubName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Custom Tag : &nbsp; </b><Label ID='CustomTagLabel'>" + obj[0].CustomTag + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Student Group : &nbsp; </b><Label ID='StudentGroupLabel'>" + obj[0].StudentGroup + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Student Other Group : &nbsp; </b><Label ID='StudentOtherGroupLabel'>" + obj[0].StudentOtherGroup + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Custom Group : &nbsp; </b><Label ID='CustomGroupLabel'>" + obj[0].CustomGroup + "</Label></div>" +
                            "</div>";
                    var BankDetails = "<div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Bank Branch : &nbsp; </b><Label ID='BankbranchLabel'>" + obj[0].BankBranch + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Account Number : &nbsp; </b><Label ID='AccountNumbeLabel' >" + obj[0].BankAccountNumber + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Bank Name : &nbsp; </b><Label ID='BankNameLabel' >" + obj[0].BankName + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Bank IFSC Code.: &nbsp; </b><Label ID='IFSCCodeLabel' >" + obj[0].BankIFSCCode + "</Label></div>" +
                            "</div>";
                    var PassportDetails = " <div class='midborder profilediv paddingbottom row'>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Passport Number : &nbsp; </b><Label ID='PassportNumberLabel'  CssClass='fieldlabel1' >" + obj[0].PassportNumber + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Passport Type : &nbsp; </b><Label ID='PassportTypeLabel'  CssClass='fieldlabel1' >" + obj[0].PassportType + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Passport Country Code : &nbsp; </b><Label ID='PassportCountryCodeLabel'  CssClass='fieldlabel1' >" + obj[0].PassportCountryCode + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Passport Issue Date: &nbsp; </b><Label ID='PassportIssueDateLabel' CssClass='fieldlabel1' >" + obj[0].PassportIssueDate + "</Label></div>" +
                            "<div class='col-md-6  height35 '><b class='text-muted'>Passport Expiry Date: &nbsp; </b><Label ID='PassportExpiryDateLabel' CssClass='fieldlabel1' >" + obj[0].PassportExpiryDate + "</Label></div>" +
                            "</div>";
                    var CBSERegDetailLabel = "<div class='midborder profilediv paddingbottom row'>" +
                        "<div class='col-md-6  height35 '><b class='text-muted'>Class9 Board Reg.Number: &nbsp; </b><Label ID='Class9Label'>" + obj[0].Class9BoardRegistrationNumber + "</Label></div>" +
                        "<div class='col-md-6  height35 '><b class='text-muted'>Class11 Board Reg.Number : &nbsp; </b><Label ID='Class11Label' >" + obj[0].Class11BoardRegistrationNumber + "</Label></div>" +
                        "</div>";

                    document.getElementById("StudentDetail").innerHTML = innerstr;
                    document.getElementById("ClassTeacherDetail").innerHTML = ClassTeacehDetails;
                    document.getElementById("AdmissionDetails").innerHTML = AdmissionDetails;
                    document.getElementById("CollegeAdmissionDetails").innerHTML = CollegeAdmissionDetails;
                    document.getElementById("SSCResultDetail").innerHTML = SSCResultDetail;
                    document.getElementById("HSCResultDetail").innerHTML = HSCResultDetail;
                    document.getElementById("JEEResultDetails").innerHTML = JEEResultDetails;
                    document.getElementById("DiplomaResultDetail").innerHTML = DiplomaResultDetail;
                    document.getElementById("DemographicDetails").innerHTML = DemographicDetails;
                    document.getElementById("Communication").innerHTML = Communication;
                    document.getElementById("TransportDetails").innerHTML = TransportDetails;
                    document.getElementById("GovRegDetails").innerHTML = GovRegDetails;
                    document.getElementById("FamilyInformation").innerHTML = FamilyInformation;
                    document.getElementById("SiblingDetails").innerHTML = SiblingDetails;
                    document.getElementById("HealthInformation").innerHTML = HealthInformation;
                    document.getElementById("HostelDetails").innerHTML = HostelDetails;
                    document.getElementById("ClubDetails").innerHTML = ClubDetails;
                    document.getElementById("BankDetails").innerHTML = BankDetails;
                    document.getElementById("PassportDetails").innerHTML = PassportDetails;
                    document.getElementById("CBSERegDetailLabel").innerHTML = CBSERegDetailLabel;

                    //AttendanceDrop();
                    //Changes for Mantis Id:0041273
                    $("#StudentSiblingDiv").css('text-align', 'center');
                    $.ajax({
                        type: "POST",
                        url: "Student360View.aspx/GetStudentSiblingDetail",
                        data: JSON.stringify({ "AcademicId": parseInt(AcademicId) }),
                        contentType: 'application/json;charset=utf-8',
                        dataType: "json",
                        success: function (data) {
                            $('#StudentSiblingDiv').html('');
                            var tableData = '<table border="1" width="100%" Id="Table_"><tr> <td width="20%" style="background:#38445a;color:#fff;border-color:#38445a;">Sibling Organization</td>' + '<td style="background:#38445a;color:#fff;border-color:#38445a;">Sibling Code</td>' + '<td style="background:#38445a;color:#fff;border-color:#38445a;">Sibling Name</td>' + '<td style="background:#38445a;color:#fff;border-color:#38445a;">Sibling Class</td>' + '<td style="background:#38445a;color:#fff;border-color:#38445a;">Sibling Status</td></tr>';
                            var datas = data.d;
                            for (var i = 0; i < datas.length; i++) {
                                tableData += '<tr style="padding:0pt 1pt 0pt"><td style="color:Black;">' + datas[i].OrganizationName + '</td><td style="color:Black;">' + datas[i].Code + '</td><td style="color:Black;">' + datas[i].Name + '</td><td style="color:Black;">' + datas[i].DivDept + '</td><td style="color:Black;">' + datas[i].StatusName + '</td></tr>';
                            }
                            tableData += '</table>';
                            $('#StudentSiblingDiv').append(tableData);
                        }
                    });
                }

            });
        });
        function BackOrgFunction() {
            window.location.href = "../MobileView/StudentSearch.aspx";
        }
        function getExamDetail() {
            //alert(AcademicId);
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/getExamDetail",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $.each(result.d, function (i, item) {
                        if (item.EmpGrid != "") {
                            document.getElementById("dvExamGridDiv").innerHTML = item.EmpGrid;
                        }
                        else { document.getElementById("dvExamGridDiv").innerHTML = "<tr><td colspan='10' class='record'>No records found..!!..!!</td></tr>"; }
                        //document.getElementById("dvExamGridDiv").innerHTML = item.EmpGrid;
                    });
                }


            });
        }
        function AttendanceDrop() {
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetDepatment",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $("#drpAttendance").html(result.d);
                    AttendanceTypeId = $("#drpAttendance").val();
                    // alert(AttendanceTypeId);
                    GetAttedanceDeatil();
                }
            });
        }
        function GetAttedanceDeatil() {
            // alert(AcademicId);
            //alert(AttendanceTypeId);
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetAttedanceDeatil",
                data: JSON.stringify({ "AcademicId": AcademicId, "AttendanceTypeId": parseInt(AttendanceTypeId), "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    if (parseInt(AttendanceTypeId) != 5) {
                        $("#Atddiv").show();
                        $("#Subjectatdiv").hide();
                        $.each(result.d, function (i, item) {
                            if (item.AttedanceGrid != "") {
                                document.getElementById("dvAttedanceGridDiv").innerHTML = item.AttedanceGrid;
                            }
                            else { document.getElementById("dvAttedanceGridDiv").innerHTML = "<tr><td colspan='10' class='record'>No records found..!!..!!</td></tr>"; }
                            // document.getElementById("dvAttedanceGridDiv").innerHTML = item.AttedanceGrid;                            
                        });
                    }
                    else {
                        $("#Atddiv").hide();
                        $("#Subjectatdiv").show();
                        $.each(result.d, function (i, item) {
                            if (item.AttedanceGrid != "") {
                                document.getElementById("dvsubjectGridDiv").innerHTML = item.SubjectGrid;
                            }
                            else { document.getElementById("dvsubjectGridDiv").innerHTML = "<tr><td colspan='10' class='record'>No records found..!!..!!</td></tr>"; }
                            // document.getElementById("dvAttedanceGridDiv").innerHTML = item.AttedanceGrid;                            
                        });
                    }
                }
            });
        }

        function GetFeeDeatil() {

            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetFeeDeatil",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $.each(result.d, function (i, item) {
                        if (item.Feegrid != "") {
                            document.getElementById("dvFeeGridDiv").innerHTML = item.Feegrid;
                        }
                        else { document.getElementById("dvFeeGridDiv").innerHTML = "<tr><td colspan='10' class='record'>No records found..!!..!!</td></tr>"; }
                        // document.getElementById("dvFeeGridDiv").innerHTML = item.Feegrid;
                    });
                    getReceiptList();
                    GetCancelReciptlist();
                    GetChargeListData();
                    GetDepositAdjustmentData();
                    GetDepositRefundData();
                }

            });
        }
        function getReceiptList() {
            //alert(AcademicId);
            //alert(AttendanceTypeId);
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/getReceiptList",
                data: JSON.stringify({ "AcademicId": AcademicId }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $.each(result.d, function (i, item) {
                        if (item.Receiptgrid != "") {
                            document.getElementById("dvReceiptGridDiv").innerHTML = item.Receiptgrid;
                        }
                        else { document.getElementById("dvReceiptGridDiv").innerHTML = "<tr><td colspan='8' class='record'>No records found..!!..!!</td></tr>"; }

                        //document.getElementById("dvReceiptGridDiv").innerHTML = item.Receiptgrid;
                    });
                    getReceiptList();
                }
            });
        }
        function GetCancelReciptlist() {
            //alert(AcademicId);
            //alert(AttendanceTypeId);
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetCancelReciptlist",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $.each(result.d, function (i, item) {
                        if (item.cancellist != "") {
                            document.getElementById("dvFeeCancelGridDiv").innerHTML = item.cancellist;
                        }
                        else { document.getElementById("dvFeeCancelGridDiv").innerHTML = "<tr><td colspan='9' class='record'>No records found..!!..!!</td></tr>"; }
                        // document.getElementById("dvFeeCancelGridDiv").innerHTML = item.cancellist;
                    });
                }

            });
        }
        function GetChargeListData() {
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetChargeListData",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $.each(result.d, function (i, item) {
                        if (item.FeeChargeListGrid != "") {
                            document.getElementById("dvChargeListGridDiv").innerHTML = item.FeeChargeListGrid;
                        }
                        else { document.getElementById("dvChargeListGridDiv").innerHTML = "<tr><td colspan='7' class='record'>No records found..!!..!!</td></tr>"; }
                    });
                }
            });
        }
        function GetDepositAdjustmentData() {
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetDepositAdjustmentData",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $.each(result.d, function (i, item) {
                        if (item.FeeDepositAdjustmentGrid != "") {
                            document.getElementById("dvDepositAdjustmentGridDiv").innerHTML = item.FeeDepositAdjustmentGrid;
                        }
                        else { document.getElementById("dvDepositAdjustmentGridDiv").innerHTML = "<tr><td colspan='7' class='record'>No records found..!!..!!</td></tr>"; }
                    });
                }
            });
        }
        function GetDepositRefundData() {
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetDepositRefundData",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $.each(result.d, function (i, item) {
                        if (item.FeeDepositRefundGrid != "") {
                            document.getElementById("dvDepositRefundGridDiv").innerHTML = item.FeeDepositRefundGrid;
                        }
                        else { document.getElementById("dvDepositRefundGridDiv").innerHTML = "<tr><td colspan='6' class='record'>No records found..!!..!!</td></tr>"; }
                    });
                }
            });
        }
        function GetbehaviourDeatil() {
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetbehaviourDeatil",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    // alert(result.d);
                    $.each(result.d, function (i, item) {
                        if (item.behaviourgrid != "") {
                            document.getElementById("dvBehaviourGridDiv").innerHTML = item.behaviourgrid;
                        }
                        else { document.getElementById("dvBehaviourGridDiv").innerHTML = "<tr><td colspan='4' class='record'>No records found..!!..!!</td></tr>"; }
                        // document.getElementById("dvBehaviourGridDiv").innerHTML = item.behaviourgrid;
                    });
                }

            });
        }
        function GetLibraryDeatil() {
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetLibraryDeatil",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    //alert(result.d);
                    $.each(result.d, function (i, item) {
                        if (item.Bookgrid != "") {
                            document.getElementById("dvBookGridDiv").innerHTML = item.Bookgrid;
                        }
                        else { document.getElementById("dvBookGridDiv").innerHTML = "<tr><td colspan='6' class='record'>No records found..!!..!!</td></tr>"; }
                    });
                }

            });
        }
        function GetPDCViewList() {

            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetPDCViewList",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $.each(result.d, function (i, item) {
                        if (item.NewAndPendingGrid != "") {
                            document.getElementById("dvNewAndPendingGridDiv").innerHTML = item.NewAndPendingGrid;
                        }
                        else { document.getElementById("dvNewAndPendingGridDiv").innerHTML = "<tr><td colspan='8' class='record'>No records found..!!..!!</td></tr>"; }
                    });
                    GetPDCClearViewList();
                }

            });
        }
        function GetPDCClearViewList() {

            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetPDCClearViewList",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $.each(result.d, function (i, item) {
                        if (item.ClearedPaymentGrid != "") {
                            document.getElementById("dvClearedPaymentGridDiv").innerHTML = item.ClearedPaymentGrid;
                        }
                        else { document.getElementById("dvClearedPaymentGridDiv").innerHTML = "<tr><td colspan='9' class='record'>No records found..!!..!!</td></tr>"; }
                    });
                }

            });
        }
        function GetAlertDeatil() {
            var AlertMode = 0;
            if ($("#ctl00_CP_SMSList").hasClass("icon active") == true)
                AlertMode = 2;
            else if ($("#ctl00_CP_EmailList").hasClass("icon active") == true)
                AlertMode = 1;
            else if ($("#ctl00_CP_WhatsAppList").hasClass("icon active") == true)
                AlertMode = 4;
            else if ($("#ctl00_CP_NotificationList").hasClass("icon active") == true)
                AlertMode = 3;

            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetAlertDeatil",
                data: JSON.stringify({ "SMS": SMS, "EmailId": EmailId, "AlertModeId": AlertMode, "AcademicId": AcademicId }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    //alert(result.d);
                    $.each(result.d, function (i, item) {
                        if (item.Alertgrid != "") {
                            document.getElementById("dvAlertGridDiv").innerHTML = item.Alertgrid;
                        }
                        else { document.getElementById("dvAlertGridDiv").innerHTML = "<tr><td colspan='6' class='record'>No records found..!!..!!</td></tr>"; }
                    });
                }

            });
        }
        function SelectResult(val, Id) {
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/SelectResult",
                data: JSON.stringify({ "AcademicId": AcademicId, "ExamId": Id, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var popup = '';// '<div class="modal fade" id="myModal" role="dialog"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal">&times;</button><h4 class="modal-title">Modal Header</h4></div><div class="modal-body">';

                    $.each(result.d, function (i, item) {
                        if (item.ResultGrid != "") {
                            popup += item.ResultGrid;
                            //document.getElementById("dvstudentresultGridDiv").innerHTML = item.ResultGrid;
                        }
                        else {
                            popup += "<tr><td colspan='6' class='record'>No records found..!!..!!</td></tr>";
                            //document.getElementById("dvstudentresultGridDiv").innerHTML = "<tr><td colspan='6' class='record'>No records found..!!..!!</td></tr>";
                        }
                    });
                    //popup += '</div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Close</button></div></div></div></div>';
                    document.getElementById("dvstudentresultGridDiv").innerHTML = popup;
                    document.getElementById("btnPopup").click();

                }

            });
        }
        function GetExamDetailList(ExamId, AcademicId) {
            //alert("hello");
            var obj = {
                "AcademicId": AcademicId,
                "ExamId": ExamId
            };
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetSubjectWiseExamList",
                data: JSON.stringify(obj),
                contentType: "application/json;charset=utf-8",
                dataType: "json",
                success: function (data) {
                    if (data.d != '') {

                        $('#ctl00_CP_StudentExamDetailsdiv').css('display', '');
                        $('#ctl00_CP_StudentExamDetailsdiv').html(data.d);
                        document.getElementById("btnPopup1").click();
                        //SetAll();
                    }
                    else {
                        $("#ctl00_CP_StudentExamDetailsdiv").css('display', 'none');
                        $('#ctl00_CP_StudentExamDetailsdiv').innerHTML = "<table id='ExamDataTbl' class='table table-striped table-bordered table-hover'><tbody><tr><td>No Records Found !!</td></tr></tbody>";
                    }
                }
            });
        }
        function GetSMSAlert() {
            $("#ctl00_CP_SMSList").addClass("active");
            $("#ctl00_CP_EmailList").removeClass("active");
            $("#ctl00_CP_WhatsAppList").removeClass("active");
            $("#ctl00_CP_NotificationList").removeClass("active");

            $("#ctl00_CP_AlertTypeLabel")[0].innerHTML = "Alert Type: SMS";

            GetAlertDeatil();
        }

        function GetEmailAlert() {
            $("#ctl00_CP_SMSList").removeClass("active");
            $("#ctl00_CP_EmailList").addClass("active");
            $("#ctl00_CP_WhatsAppList").removeClass("active");
            $("#ctl00_CP_NotificationList").removeClass("active");

            $("#ctl00_CP_AlertTypeLabel")[0].innerHTML = "Alert Type: Email";

            GetAlertDeatil();
        }

        function GetWhatsAppAlert() {
            $("#ctl00_CP_SMSList").removeClass("active");
            $("#ctl00_CP_EmailList").removeClass("active");
            $("#ctl00_CP_WhatsAppList").addClass("active");
            $("#ctl00_CP_NotificationList").removeClass("active");

            $("#ctl00_CP_AlertTypeLabel")[0].innerHTML = "Alert Type: WhatsApp";

            GetAlertDeatil();
        }

        function GetNotificationAlert() {
            $("#ctl00_CP_SMSList").removeClass("active");
            $("#ctl00_CP_EmailList").removeClass("active");
            $("#ctl00_CP_WhatsAppList").removeClass("active");
            $("#ctl00_CP_NotificationList").addClass("active");

            $("#ctl00_CP_AlertTypeLabel")[0].innerHTML = "Alert Type: Notification";

            GetAlertDeatil();
        }

        function attendancetypechange() {
            AttendanceTypeId = $("#drpAttendance").val();
            GetAttedanceDeatil();
        }

        function GetEventDetails() {
            $.ajax({
                type: "POST",
                url: "Student360View.aspx/GetEventDetails",
                data: JSON.stringify({ "AcademicId": AcademicId, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $.each(result.d, function (i, item) {
                        if (item.EventAttendanceGrid != "") {
                            document.getElementById("dvEventDetailsGridDiv").innerHTML = item.EventAttendanceGrid;
                        }
                        else { document.getElementById("dvEventDetailsGridDiv").innerHTML = "<tr><td colspan='8' class='record'>No records found..!!..!!</td></tr>"; }
                    });
                }
            });
        }
    </script>

    <asp:UpdatePanel ID="DoctorScheduleUpdatePanel" runat="server">
        <ContentTemplate>
            <div class="page-header row mb20">
                <div class="col-xl-12 col-sm-12 col-xs-12 border-bottom-inline padd-0">
                    <div class="col-md-12 ptb12">
                        <span class='btn btn-home btn-icon' onclick='DashBoard()' title='home'><span><i class='material-icons'>home</i></span></span>
                        <input type="button" value="&#xf3e5;" id="bntBackOrg" onclick="BackOrgFunction()" skinid="0" class="float-right btn btn-back btn-icon fas" />
                    </div>
                    <div class="main-topic inner" id="HeaderTitle">
                    </div>
                </div>
            </div>

            <div class="bg-white col-md-12 padd-0 center-block mt34">
                <div class="container-fluid">
                    <div class="gutters-tiny push js-appear-enabled animated fadeIn overflow-hidden row" data-toggle="appear">
                        <div class="col-md-12 himsBoxContent  ptb15 ">
                            <h2 class="box-head">Student 360 View</h2>
                            <div class='himssuHeader6WireBox col-md-12'>
                                <ul class="nav nav-pills">
                                    <li class="nav-item" onclick="Student360ViewFunction(1)" id="Student360View" runat="server">
                                        <a class="nav-link fs18" id="pills-1-tab" data-toggle="pill" href="#pills-1" role="tab"><i class="fas fa-user-graduate"></i>&nbsp;Student Details</a>
                                    </li>
                                    <li class="nav-item" onclick="getExamDetail()" id="Exam" runat="server">
                                        <a class="nav-link fs18" id="pills-2-tab" data-toggle="pill" href="#pills-2" role="tab"><i class="fas fa-star-half-alt"></i>&nbsp;Assesment</a>
                                    </li>
                                    <li class="nav-item" onclick="AttendanceDrop()" id="Attendance" runat="server">
                                        <a class="nav-link fs18" id="pills-3-tab" data-toggle="pill" href="#pills-3" role="tab"><i class="fas fa-clipboard-list"></i>&nbsp;Attedance</a>
                                    </li>
                                    <li class="nav-item" onclick="GetFeeDeatil()" id="Fee" runat="server">
                                        <a class="nav-link fs18" id="pills-4-tab" data-toggle="pill" href="#pills-4" role="tab"><i class="fas fa-money-bill-alt"></i>&nbsp;Fee</a>
                                    </li>
                                    <li class="nav-item" onclick="GetPDCViewList()" id="PDC" runat="server">
                                        <a class="nav-link fs18" id="pills-9-tab" data-toggle="pill" href="#pills-9" role="tab"><i class="fas fa-money-check-alt"></i>&nbsp;PDC</a>
                                    </li>
                                    <li class="nav-item" onclick="GetbehaviourDeatil()" id="Behaviour" runat="server">
                                        <a class="nav-link fs18" id="pills-5-tab" data-toggle="pill" href="#pills-5" role="tab"><i class="fas fa-user-shield"></i>&nbsp;Behaviour</a>
                                    </li>
                                    <li class="nav-item" onclick="GetLibraryDeatil()" id="Library" runat="server">
                                        <a class="nav-link fs18" id="pills-6-tab" data-toggle="pill" href="#pills-6" role="tab"><i class="fas fa-book"></i>&nbsp;Library</a>
                                    </li>
                                    <li class="nav-item" onclick="GetAlertDeatil()" id="Alert" runat="server">
                                        <a class="nav-link fs18" id="pills-7-tab" data-toggle="pill" href="#pills-7" role="tab"><i class="fas fa-exclamation-triangle"></i>&nbsp;Alert</a>
                                    </li>
                                    <li class="nav-item" onclick="GetEventDetails()" id="Event" runat="server">
                                        <a class="nav-link fs18" id="pills-8-tab" data-toggle="pill" href="#pills-8" role="tab"><i class="fas fa-user-shield"></i>&nbsp;Activity</a>
                                    </li>
                                </ul>
                                <div class="tab-content row">

                                    <div class="tab-pane col-md-12" id="pills-1">
                                        <div class="m-t-20">
                                            <div class="himsBoxContent ptb15" id='StudentDiv'>
                                                <div class="contentHolder col-md-12">
                                                    <div class='himssuHeader6WireBox col-md-12'>
                                                        <div class='himsBoxHeader card-head inner' id='PresenceListGridViewPagerDiv' visible='true'>
                                                            <div class='leftdiv'>
                                                            </div>
                                                            <div class='himsBoxTitle'>
                                                                <div class='headerText'>
                                                                    <header>

                                                                        <h2 class='table-topic'>Student Details</h2>
                                                                    </header>
                                                                </div>
                                                                <div class='gridHeaderText fRight'>
                                                                </div>
                                                                <div class='fRight'>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class='himsBoxContent pTop5'>
                                                            <div id='PresenceListGridViewMessageDiv' class='himsBoxContentMsg' runat='server' visible='False'>
                                                            </div>
                                                            <%--<asp:DataList ID='ProfileDataList'>--%>
                                                            <itemstyle cssclass=''></label>
      
                <div class='profilediv row' id="StudentDetail">
                </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='TeacherDiv' visible='true'>
                                                    <div class='himsBoxHeader card-head inner' id='TeacherListGridViewPagerDiv' runat='server' visible='true'>
                                                        <div class='leftdiv'>
                                                        </div>
                                                        <div class='himsBoxTitle'>
                                                            <div class='headerText'>
                                                                <header>

                                                                    <h2 class='table-topic'>Class Teacher Details</h2>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='TeacherListGridViewMessageDiv' class='himsBoxContentMsg' runat='server'
                                                            visible='False'>
                                                        </div>
                                                        <%--<asp:DataList ID='TeacherProfileDataList' runat='server'>--%>
                                                        <itemstyle cssclass=''></label>
           
                <div class='profilediv row' id="ClassTeacherDetail">
             </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='AdmissionDetaildiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div1' runat='server' visible='true'>
                                                        <div class='leftdiv'>
                                                        </div>
                                                        <div class='himsBoxTitle'>
                                                            <div class='headerText'>
                                                                <header>
                                                                    <h2 class='table-topic'>Admission Details</h2>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div4' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>
                                                        <div class='profilediv row' id="AdmissionDetails">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='CollegeAdmissonDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div28' runat='server' visible='true'>
                                                        <div class='leftdiv'>
                                                        </div>
                                                        <div class='himsBoxTitle'>
                                                            <div class='headerText'>
                                                                <header class="table-topic">
                                                                    <label>College Admission Details</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div29' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>
                                                        <itemstyle cssclass=''></label>                                     
                                                <div class='profilediv' id="CollegeAdmissionDetails">
                                                </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='SSCresultdetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div30' runat='server' visible='true'>
                                                        <div class='leftdiv'>
                                                        </div>
                                                        <div class='himsBoxTitle'>
                                                            <div class='headerText table-topic'>
                                                                <header>
                                                                    <label>SSC Result Detail</label>

                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='sscdiv' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>
                                                        <itemstyle cssclass='' />
                                                        <div class='profilediv' id="SSCResultDetail">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='HSCResultDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div32' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='headerText table-topic'>
                                                                <header>
                                                                    <label>HSC Result Detail </label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='HSCDiv' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>
                                                        <div class='profilediv' id="HSCResultDetail">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='JeeDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div31' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='headerText table-topic'>
                                                                <header>
                                                                    <label>JEE Result  Details</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='JeeDiv' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>
                                                        <div class='profilediv' id="JEEResultDetails">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='DiplomaDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div34' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Diploma Result Detail</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='DiplomaDiv' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>
                                                        <div class='profilediv' id="DiplomaResultDetail">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15'>
                                                    <div class='himsBoxHeader card-head inner' id='Div8' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Demographic Details</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div9' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>

                                                        <itemstyle cssclass=''> </Label>
                <div class='profilediv' id="DemographicDetails">
                </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop5'>
                                                    <div class='himsBoxHeader card-head inner' id='Div2' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Communication</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div3' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>
                                                        <div class='profilediv' id="Communication">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='TransportDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div26' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Transport Details</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div27' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>
                                                        <div class='profilediv' id="TransportDetails">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='GovRegDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div21' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Gov Reg.Details</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div22' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>
                                                        <div class='profilediv' id="GovRegDetails"></div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='FamilyDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div5' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Family Information</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div6' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>

                                                        <div class='profilediv' id="FamilyInformation">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='SiblingDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div23' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Sibling Details</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div24' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>

                                                        <div class='profilediv table-responsive' id="SiblingDetails">
                                                        </div>
                                                        <div id="StudentSiblingDiv"></div>
                                                        <%--</asp:DataList>--%>
                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='HealthDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div7' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Health Information</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div10' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>

                                                        <div class='profilediv' id="HealthInformation">
                                                        </div>

                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='HostelDetailsDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div13' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Hostel Details</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div14' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>

                                                        <div class='profilediv' id="HostelDetails">
                                                        </div>

                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='ClubDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div18' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Club Details</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div25' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>

                                                        <div class='profilediv' id="ClubDetails">
                                                            <div class='midborder profilediv paddingbottom row'>
                                                                <div class='col-md-6  height35 '>
                                                                    <b class='text-muted'>House : &nbsp; </b>
                                                                    <label id='HouseLabel'>dt.Rows[0][House]  </label>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='BankDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div12' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Bank Details</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div15' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>

                                                        <div class='profilediv' id="BankDetails">
                                                        </div>

                                                    </div>
                                                </div>
                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='PassportDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div16' runat='server'>
                                                        <div class='himsBoxTitle' id='PassportDetailDiv1' runat='server'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>Passport Details</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div17' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>
                                                        <div class='profilediv' id="PassportDetails">
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class='himssuHeader6WireBox col-md-12 pTop15' id='CBSERegDetailDiv' runat='server'>
                                                    <div class='himsBoxHeader card-head inner' id='Div19' runat='server' visible='true'>
                                                        <div class='himsBoxTitle'>
                                                            <div class='gridHeaderText table-topic'>
                                                                <header>
                                                                    <label>CBSERegDetailLabel</label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class='himsBoxContent pTop5'>
                                                        <div id='Div20' class='himsBoxContentMsg' runat='server' visible='False'>
                                                        </div>

                                                        <div class='profilediv' id="CBSERegDetailLabel">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                    <div class="tab-pane col-md-12 padd-0" id="pills-2">
                                        <div class="m-t-20">
                                            <div class="row">
                                                <div class="padd-0 col-md-12">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered ">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Exam Name</th>
                                                                    <th scope="col">Year</th>
                                                                    <th scope="col">Total Marks</th>
                                                                    <th scope="col">Total Obtain </th>
                                                                    <th scope="col">Result </th>
                                                                    <th scope="col">Grade</th>
                                                                    <th scope="col">Rank </th>
                                                                    <th scope="col">Percentage </th>
                                                                    <th scope="col">Percentile  </th>
                                                                    <th scope="col">Detail</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvExamGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                                <button type="button" id="btnPopup" style="display: none" class="btn btn-info btn-lg" data-toggle="modal" data-target="#dvresultpopup"></button>
                                                <div class="modal fade" id="dvresultpopup" role="dialog">
                                                    <div class="modal-dialog">
                                                        <div class="modal-content">
                                                            <div class="modal-header">
                                                                <asp:Label ID="Label1" runat="server" Text="Student Result In Detail"></asp:Label>
                                                                <button type="button" class="close" data-dismiss="modal">&times;</button>
                                                            </div>
                                                            <div class="modal-body col-md-12">
                                                                <div class="table-responsive">
                                                                    <table class="table table-bordered table-striped" id="StudentresultDiv">
                                                                        <tr>
                                                                            <th scope="col">Subject</th>
                                                                            <th scope="col">Maximum</th>
                                                                            <th scope="col">Minimum</th>
                                                                            <th scope="col">Obtain</th>
                                                                            <th scope="col">Grace Mark</th>
                                                                            <th scope="col">Remark</th>
                                                                        </tr>
                                                                        <tbody id="dvstudentresultGridDiv">
                                                                        </tbody>
                                                                    </table>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                </div>
                                                <button type="button" id="btnPopup1" style="display: none" class="btn btn-info btn-lg" data-toggle="modal" data-target="#ctl00_CP_dvexamdetailpopup"></button>

                                                <div id="dvexamdetailpopup" class="modal fade" role="dialog" runat="server">
                                                    <div class="modal-dialog">
                                                        <div class="modal-content">
                                                            <div class="modal-header">
                                                                <%--  <div class="himsBoxHeader card-head">--%>

                                                                <%-- <div class="himsBoxTitle">
                                                                        <div class="headerText">
                                                                            <header>--%>
                                                                <label>Student Exam Detail</label>
                                                                <button type="button" class="close" data-dismiss="modal">&times;</button>
                                                                <%-- </header>
                                                                        </div>

                                                                    </div>--%>

                                                                <%--</div>--%>
                                                            </div>
                                                            <div class="modal-body col-md-12">
                                                                <%--<div id ="StudentExamDetailsdiv" runat="server"></div>--%>
                                                                <div class="table-responsive">
                                                                    <table class="table table-bordered table-striped">
                                                                        <div id="StudentExamDetailsdiv" runat="server"></div>
                                                                    </table>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </div>

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

                                    <div class="tab-pane col-md-12 " id="pills-3">
                                        <div class="m-t-20">
                                            <div class="row">
                                                <div class='col-md-3 col-sm-4 col-xs-12'>
                                                    <div class='controlLabelWidth'>
                                                        <label>Attendance Type</label>
                                                    </div>
                                                    <div class='fLeft pRight5'>
                                                        <select id='drpAttendance' class="form-control" onchange="attendancetypechange();">
                                                            <option selected="selected" value='0'>Select</option>
                                                        </select>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 pTop15">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered" id="Atddiv" style="display: inline-table">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">For Month</th>
                                                                    <th scope="col">For Year</th>
                                                                    <th scope="col">Attendance Count</th>
                                                                    <th scope="col">Present Days</th>
                                                                    <th scope="col">Absent Days	 </th>
                                                                    <th scope="col">Average Presence(%)	</th>
                                                                    <th scope="col">Absent Date</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvAttedanceGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 pTop5">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered " id="Subjectatdiv" style="display: none;">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Subject</th>
                                                                    <th scope="col">Present count</th>
                                                                    <th scope="col">Absent count </th>

                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvsubjectGridDiv">
                                                            </tbody>
                                                        </table>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="tab-pane col-md-12 padd-0 " id="pills-4">
                                        <div class="m-t-20">
                                            <div class="row">
                                                <%--         <div class='col-md-3 col-sm-4 col-xs-12'>
                                    <div class='controlLabelWidth'>
                                        <label>Attendance Type</label>
                                    </div>
                                    <div class='fLeft pRight5'>
                                        <select id='drpAttendance' class="form-control">
                                            <option selected="selected" value='0'>Select</option>
                                        </select>
                                    </div>
                                </div>
                                                --%>
                                                <div class="col-md-12 pTop15">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Fee Name</th>
                                                                    <th scope="col">Amount</th>
                                                                    <th scope="col">Additional Amount	</th>
                                                                    <th scope="col">Exemption Amount	</th>
                                                                    <th scope="col">Not Applicable Amount</th>
                                                                    <th scope="col">Paid Amount</th>
                                                                    <th scope="col">Pending Amount	</th>
                                                                    <th scope="col">Start Date		</th>
                                                                    <th scope="col">End  date</th>
                                                                    <th scope="col">Status	</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvFeeGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                                <div class="col-md-12 pTop5">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Receipt Book</th>
                                                                    <th scope="col">Receipt Number</th>
                                                                    <th scope="col">Receipt Date	</th>
                                                                    <th scope="col">Pay Type	</th>
                                                                    <th scope="col">Cheque No</th>
                                                                    <th scope="col">Bank Name</th>
                                                                    <th scope="col">Fee Detail</th>
                                                                    <th scope="col">Receipt Amount</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvReceiptGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                                <div class="himsBoxTitle col-md-12 pTop5">
                                                    <h2 class="box-head">
                                                        <asp:Label ID="Label2" runat="server" Text=" Cancel Receipt List"></asp:Label>
                                                    </h2>
                                                </div>
                                                <div class="col-md-12 pTop5">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Receipt No</th>
                                                                    <th scope="col">Receipt Date</th>
                                                                    <th scope="col">Receipt Amount</th>
                                                                    <th scope="col">Pay Type</th>
                                                                    <th scope="col">Cheque No / Reference No</th>
                                                                    <th scope="col">Bank Name</th>
                                                                    <th scope="col">Receipt Book</th>
                                                                    <th scope="col">Invoice No	</th>
                                                                    <th scope="col">Remark	</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvFeeCancelGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                                <div class="himsBoxTitle col-md-12 pTop5">
                                                    <h2 class="box-head">
                                                        <asp:Label ID="Label3" runat="server" Text=" Charge List Data"></asp:Label>
                                                    </h2>
                                                </div>
                                                <div class="col-md-12 pTop5">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Organization Name</th>
                                                                    <th scope="col">Name</th>
                                                                    <th scope="col">Receipt Number	</th>
                                                                    <th scope="col">Receipt Date</th>
                                                                    <th scope="col">Receipt Book</th>
                                                                    <th scope="col">Charge Category</th>
                                                                    <th scope="col">Amount</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvChargeListGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                                <div class="himsBoxTitle col-md-12 pTop5">
                                                    <h2 class="box-head">
                                                        <asp:Label ID="Label4" runat="server" Text=" Deposit Adjustment Data"></asp:Label>
                                                    </h2>
                                                </div>
                                                <div class="col-md-12 pTop5">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Deposit Head Name</th>
                                                                    <th scope="col">Student Name</th>
                                                                    <th scope="col">Id No	</th>
                                                                    <th scope="col">Class</th>
                                                                    <th scope="col">Expense Type</th>
                                                                    <th scope="col">Amount</th>
                                                                    <th scope="col">Adjustment Date</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvDepositAdjustmentGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                                <div class="himsBoxTitle col-md-12 pTop5">
                                                    <h2 class="box-head">
                                                        <asp:Label ID="Label5" runat="server" Text=" Deposit Refund Data"></asp:Label>
                                                    </h2>
                                                </div>
                                                <div class="col-md-12 pTop5">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Deposit Head Name</th>
                                                                    <th scope="col">Student Name</th>
                                                                    <th scope="col">Id No</th>
                                                                    <th scope="col">Class</th>
                                                                    <th scope="col">Refund Amount</th>
                                                                    <th scope="col">Refund Date</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvDepositRefundGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="tab-pane col-md-12 padd-0" id="pills-5">
                                        <div class="m-t-20">
                                            <div class="row">
                                                <div class="col-md-12 pTop15">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Behaviour Type</th>
                                                                    <th scope="col">Behaviour Name</th>
                                                                    <th scope="col">Behaviour Date</th>
                                                                    <th scope="col">Remark</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvBehaviourGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="tab-pane col-md-12  padd-0" id="pills-6">
                                        <div class="m-t-20">
                                            <div class="row">
                                                <div class="col-md-12 pTop15">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Library</th>
                                                                    <th scope="col">Book Code</th>
                                                                    <th scope="col">Book Title</th>
                                                                    <th scope="col">LogDate</th>
                                                                    <th scope="col">DueDate</th>
                                                                    <th scope="col">Status</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvBookGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="tab-pane col-md-12 padd-0" id="pills-7">
                                        <div class="m-t-20">
                                            <div class="row">
                                                <div class="col-md-12 pTop15">
                                                    <div class="table-responsive">
                                                        <div>
                                                            <li id="SMSList" runat="server" class="icon active" style="display: inline"><a>
                                                                <i class="fas fa-sms" aria-hidden="true" style="font-size: 14px" onclick="GetSMSAlert();"></i>
                                                                <input type="button" id="SMSButton" value=" SMS" onclick="GetSMSAlert();" class="fas transparenttab" style="border: none; cursor: pointer; font-size: 14px; padding: 7px" />
                                                            </a></li>
                                                            <li id="EmailList" runat="server" class="icon" style="display: inline"><a>
                                                                <i class="fa fa-envelope" aria-hidden="true" style="font-size: 14px" onclick="GetEmailAlert();"></i>
                                                                <input type="button" id="EmailButton" value=" Email" onclick="GetEmailAlert();" class="fas transparenttab" style="border: none; cursor: pointer; font-size: 14px; padding: 7px" />
                                                            </a></li>
                                                            <li id="WhatsAppList" runat="server" class="icon" style="display: inline"><a>
                                                                <i class="fab fa-whatsapp" aria-hidden="true" style="font-size: 14px" onclick="GetWhatsAppAlert();"></i>
                                                                <input type="button" id="WhatsAppButton" value=" WhatsApp" onclick="GetWhatsAppAlert();" class="fas transparenttab" style="border: none; cursor: pointer; font-size: 14px; padding: 7px" />
                                                            </a></li>
                                                            <li id="NotificationList" runat="server" class="icon" style="display: inline"><a>
                                                                <i class="fa fa-bell" aria-hidden="true" style="font-size: 14px" onclick="GetNotificationAlert();"></i>
                                                                <input type="button" id="NotificationButton" value=" Notification" onclick="GetNotificationAlert();" class="fas transparenttab" style="border: none; cursor: pointer; font-size: 14px; padding: 7px" />
                                                            </a></li>
                                                        </div>
                                                        <br />
                                                        <asp:Label ID="AlertTypeLabel" runat="server" Text="Alert Type: SMS"></asp:Label>
                                                        <table class="table table-striped table-bordered ">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Source Event</th>
                                                                    <th scope="col">EventName</th>
                                                                    <th scope="col">Alert Subject</th>
                                                                    <th scope="col">Alert Message	</th>
                                                                    <th scope="col">Created Date</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvAlertGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="tab-pane col-md-12 padd-0" id="pills-8">
                                        <div class="m-t-20">
                                            <div class="row">
                                                <div class="col-md-12 pTop15">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">From Date</th>
                                                                    <th scope="col">To Date</th>
                                                                    <th scope="col">Event Name</th>
                                                                    <th scope="col">Student Attendance</th>
                                                                    <th scope="col">Father Attendance</th>
                                                                    <th scope="col">Mother Attendance</th>
                                                                    <th scope="col">Parent Feedback</th>
                                                                    <th scope="col">School Feedback</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvEventDetailsGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="tab-pane col-md-12 padd-0 " id="pills-9">
                                        <div class="m-t-20">
                                            <div class="row">
                                                <div class="himsBoxTitle col-md-12 pTop5">
                                                    <h2 class="box-head">
                                                        <asp:Label ID="Label6" runat="server" Text=" New and Pending Details"></asp:Label>
                                                    </h2>
                                                </div>
                                                <div class="col-md-12 pTop5">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Receipt Book</th>
                                                                    <th scope="col">Pay Type</th>
                                                                    <th scope="col">Cheque Date</th>
                                                                    <%--Mantis - 35153--%>
                                                                    <th scope="col">Cheque No</th>
                                                                    <th scope="col">Bank Name</th>
                                                                    <th scope="col">Amount</th>
                                                                    <th scope="col">Remark</th>
                                                                    <th scope="col">Status</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvNewAndPendingGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                                <div class="himsBoxTitle col-md-12 pTop5">
                                                    <h2 class="box-head">
                                                        <asp:Label ID="Label7" runat="server" Text=" Cleared Payment Details"></asp:Label>
                                                    </h2>
                                                </div>
                                                <div class="col-md-12 pTop5">
                                                    <div class="table-responsive">
                                                        <table class="table table-striped table-bordered">
                                                            <thead>
                                                                <tr>
                                                                    <th scope="col">Receipt Number</th>
                                                                    <th scope="col">Receipt Date</th>
                                                                    <th scope="col">Receipt Amount</th>
                                                                    <th scope="col">Pay Type</th>
                                                                    <th scope="col">Reference No</th>
                                                                    <th scope="col">Bank Name</th>
                                                                    <th scope="col">Receipt Book</th>
                                                                    <th scope="col">Cheque Date</th>
                                                                    <th scope="col">Remark</th>
                                                                </tr>
                                                            </thead>
                                                            <tbody id="dvClearedPaymentGridDiv">
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <script>
                function openNav() {
                    document.getElementById("mySidenav").style.width = "344px";
                }

                function closeNav() {
                    document.getElementById("mySidenav").style.width = "0";
                }
            </script>
            <script>

                function getFeeActive() {

                    var element = document.getElementById("pills-4");
                    element.classList.add("active");

                    var FeeData = document.getElementById("pills-4-tab");
                    FeeData.classList.add("active");

                    var myurl = window.location.href;
                    var keyval = myurl.split('?')[1].split('&');
                    AcademicId = keyval[0].split('=')[1].toString();
                    BatchId = keyval[1].split('=')[1].toString();
                    GetFeeDeatil(AcademicId, BatchId);
                }
                function getAssessmentActive() {

                    var element = document.getElementById("pills-2");
                    element.classList.add("active");

                    var AssessmentData = document.getElementById("pills-2-tab");
                    AssessmentData.classList.add("active");

                    var myurl = window.location.href;
                    var keyval = myurl.split('?')[1].split('&');
                    AcademicId = keyval[0].split('=')[1].toString();
                    BatchId = keyval[1].split('=')[1].toString();
                    getExamDetail(AcademicId, BatchId);
                }
                function getStudentDetailActive() {

                    var element = document.getElementById("pills-1");
                    element.classList.add("active");

                    var test = document.getElementById("pills-1-tab");
                    test.classList.add("active");

                    $(document).ready();
                    //var myurl = window.location.href;
                    //var keyval = myurl.split('?')[1].split('&');
                    //AcademicId = keyval[0].split('=')[1].toString();
                    //Student360ViewFunction(AcademicId);
                }

            </script>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
