<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Alumni_ViewProfile, App_Web_scnj5cut" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="CountryMasterUpdatePanel" runat="server">
        <ContentTemplate>
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <%--<div class="himssuHeader3WireBox">
                                    <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                            <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>    
                                            </div>
                                        </div>
                                    </div>--%>
                    <table>
                        <tr>
                            <td>
                                <div class="himsBoxContent">
                                    <div class="leftUlMenu">
                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="242"
                                            Visible="true" runat="server" />
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="whiteboxpaddingleft row">
                    <!-- Sub Container2 Box Start -->
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="TopPanel" runat="server" meta:resourcekey="TopPanelResource1">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <%--<asp:Image ID="Image2" runat="server" class="fLeft" 
                                meta:resourcekey="Image2Resource1" />--%>
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label1" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight">
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <asp:Panel ID="DetailPanel" runat="server" meta:resourcekey="DetailPanelResource1">
                            <div class="himsBoxContent card-body">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchPanel" runat="server" meta:resourcekey="SearchPanelResource1">
                                        <asp:HiddenField ID="IdHiddenField" runat="server" />
                                        <asp:HiddenField ID="IdHiddenField1" runat="server" />
                                        <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                                        <%--<asp:HiddenField ID="MaxRowHiddenField1" runat="server" />--%>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OrgIdLabel" runat="server" Text="Organization" meta:resourcekey="SearchCountryTitleLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="OrgIdDropDownList" runat="server" CssClass="form-control"></asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblFristName" runat="server" Text="First Name" meta:resourcekey="SearchCountryTitleLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="txtFristName" runat="server"
                                                    SkinID="CustomWidthTextbox"
                                                    MaxLength="100"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblLastName" runat="server" Text="Last Name" meta:resourcekey="SearchCountryTitleLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="txtLastName" runat="server"
                                                    SkinID="CustomWidthTextbox"
                                                    MaxLength="100"></asp:TextBox>
                                            </div>
                                        </div>

                                         <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblMobileNo" runat="server" Text="Mobile No." meta:resourcekey="SearchCountryTitleLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="txtMobileNo" runat="server"
                                                    SkinID="CustomWidthTextbox" onkeypress="return valid(this);"
                                                    MaxLength="10"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblStatus" runat="server" Text="Status"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ddlStatus" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    <asp:ListItem Value="0" Text="All"></asp:ListItem>
                                                    <asp:ListItem Value="1" Text="Pending"></asp:ListItem>
                                                    <asp:ListItem Value="2" Text="Mapped"></asp:ListItem>
                                                </asp:DropDownList>

                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblFromDate" runat="server" Text="From Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="dpFromDate" runat="server" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblToDate" runat="server" Text="To Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="dpToDate" runat="server" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop15 p-l-10 col-md-3">
                                            <asp:CheckBox ID="SendAlertCheckbox" runat="server" Text="Send Alert" AutoPostBack="true" class="pLeft5" OnCheckedChanged="SendAlertCheckbox_CheckedChanged" />
                                        </div>
                                        <div class="outerBox pTop5 p-l-10 col-md-3" id="EmailSubjectDiv" runat="server" visible="false">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label3" runat="server" Text="Email Subject"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="EmailSubjectTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                    MaxLength="20"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox11 pTop5 col-md-12 fLeft" id="SendAlertDiv" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="MessageLabel" runat="server" Text="Message"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="MessageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    Height="50px" SkinID="MultilineTextBox" runat="server" MaxLength="1000" OnTextChanged="MessageTextBox_TextChanged"
                                                    TextMode="MultiLine" AutoPostBack="true"></asp:TextBox>
                                                <div id="CharCountDiv" runat="server" class="col-md-12 padd-0">
                                                    <asp:Label ID="ForCharLabel" runat="server" Text="Number Of Character :"></asp:Label>
                                                    <asp:Label ID="NumberOfCharLabel" runat="server" Font-Bold="true" CssClass="ml-1"></asp:Label>
                                                    <asp:Label ID="ForMessageLabel" runat="server" Text="Number Of Message :"></asp:Label>
                                                    <asp:Label ID="NumberOfMessageLabel" runat="server" Font-Bold="true"></asp:Label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="outerBox col-md-3 pTop5" id="AlertOptionDiv" runat="server">
                                            <div class="fLeft pRight5">
                                                <asp:CheckBoxList ID="SourceTypeCheckBoxList" runat="server" RepeatDirection="Horizontal"
                                                    OnSelectedIndexChanged="SourceTypeCheckBoxList_SelectedIndexChanged" AutoPostBack="true">
                                                    <asp:ListItem Text="SMS" Value="1"></asp:ListItem>
                                                    <asp:ListItem Text="Email" Value="2"></asp:ListItem>
                                                    <asp:ListItem Text="Whatsapp" Value="3"></asp:ListItem><%--mantis : 0046723--%> 
                                                </asp:CheckBoxList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" runat="server" id="TemplateNameDiv" visible="false"> <%--mantis : 0046723--%> 
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="TemplateNameLabel" runat="server" Text="WhatsApp Template Name"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="TemplateNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" SkinID="CustomWidthTextbox"></asp:TextBox>
                                            </div>
                                        </div>
                                        <asp:HiddenField ID="ResourceMasterHiddenField" runat="server" />

                                        <div class="alignCenter pTop5 col-md-12 center">
                                            <asp:Button ID="SearchButton" runat="server" OnClick="SearchButton_Click" Text="&#xf002; Search"
                                                TabIndex="2" SkinID="0" class="btn-search btn fas" />
                                            <asp:Button ID="SendAlertButton" Text="&#xf1d8; Send Alert" runat="Server" OnClick="SendAlertButton_Click"
                                                SkinID="0" CssClass="btn-send btn fas" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click"
                                                meta:resourcekey="ResetButtonResource1" SkinID="0" class="btn-reset btn fas" />
                                            <asp:Button ID="OnlineEntryButton" runat="server" Text="&#xf14b; Online Entry" OnClick="OnlineEntryButton_Click" SkinID="0" CssClass="btn-assign btn fas" />
                                            <asp:Button ID="OnlineEntryNewButton" runat="server" Text="&#xf14b; Online Entry New" OnClick="OnlineEntryNewButton_Click" SkinID="0" CssClass="btn-assign btn fas" />
                                            <asp:Button ID="ExportButton" Text="&#xf093; Export" runat="Server" OnClick="ExportButton_Click" SkinID="0" CssClass="btn btn-examcommon fas " /> <%--mantis : 0046722--%>
                                        </div>

                                        <asp:HiddenField ID="ButtonHiddenField" runat="server" />
                                    </asp:Panel>
                                    <div id="AvailableCountriesGridViewDiv" runat="server">

                                        <div class="himssuHeader7WireBox col-md-12" id="PatientRelationDiv"
                                            runat="server" style="width: 99%; margin-right: 5px;">
                                            <div class="himsBoxHeader card-head inner" id="GridHeaderDiv" style="display: none" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle" style="width: 99%">

                                                    <div class="fRight" style="margin-top: 0px;">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent pTop5" runat="server" id="AvailableResourceGridViewDiv" visible="false">

                                                <div class="table-responsive">
                                                    <asp:GridView ID="AvailableResourceGridView" runat="server" AutoGenerateColumns="False"
                                                        CssClass="table table-striped table-bordered table-hover" OnRowDataBound="AvailableResourceGridView_RowDataBound"
                                                        ShowHeader="True" OnPageIndexChanging="AvailableResourceGridView_OnPageIndexChanging"
                                                        EmptyDataText="No Area Available" meta:resourcekey="AvailableCountriesGridViewResource1" DataKeyNames="Id">
                                                        <Columns>
                                                            <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="2%"
                                                                ItemStyle-Wrap="true">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" Enabled="true" AutoPostBack="true" OnCheckedChanged="HeaderSelectCheckBox_CheckedChanged"
                                                                            Visible="true" />
                                                                        <span></span>
                                                                    </label>
                                                                </HeaderTemplate>
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Profile" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="CheckProfileButton" runat="server" CommandName="Select" OnClick="CheckProfileButton_Click"
                                                                        Text="Profile" CausesValidation="false"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Map With Student" ItemStyle-Width="12%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                        Text="Map With Student" CausesValidation="false"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Id" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource2" Visible="false">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Id" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("Id") %>'
                                                                        Text='<%# Bind("Id") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="20%" />
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Name" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Name" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("Name") %>'
                                                                        Text='<%# Bind("Name") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="20%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="MobileNo" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="MobileNo" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("MobileNo") %>'
                                                                        Text='<%# Bind("MobileNo") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="10%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="EmailId" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="EmailId" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("EmailId") %>'
                                                                        Text='<%# Bind("EmailId") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="15%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Organtion Name" meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="MiddleNameLabel" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("OrgantionName") %>'
                                                                        Width="200px" Text='<%# Bind("OrgantionName") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="12%" />
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Passing Batch" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource4">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LastNameLabel" runat="server" Text='<%# Bind("PassingBatch") %>'
                                                                        meta:resourcekey="ObsoleteLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="3%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Passing Class" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource4">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ClassNameLabel" runat="server" Text='<%# Bind("PassingClass") %>'
                                                                        meta:resourcekey="ObsoleteLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="3%" />
                                                            </asp:TemplateField>

                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>

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

                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                    </div>

                    <div class="himssuHeader5WireBox card card-box" id="DetailDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server" meta:resourcekey="TopPanelResource1">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <%--<asp:Image ID="Image2" runat="server" class="fLeft" 
                                meta:resourcekey="Image2Resource1" />--%>
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label2" runat="server" Text="Pending"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight  mt-27">
                                        <asp:Button ID="PendingResetButton" runat="server" Text="&#xf30a; Back" OnClick="PendingResetButton_Click"
                                            SkinID="0" class="btn-back btn fas" TabIndex="3" />
                                    </div>
                                </div>

                            </asp:Panel>
                        </div>
                        <asp:Panel ID="Panel2" runat="server" meta:resourcekey="DetailPanelResource1">
                            <div class="himsBoxContent card-body">
                                <div class="contentHolder">
                                    <asp:Panel ID="Panel3" runat="server" meta:resourcekey="SearchPanelResource1">
                                        <asp:HiddenField ID="HiddenField1" runat="server" />
                                        <asp:HiddenField ID="HiddenField2" runat="server" />
                                        <asp:HiddenField ID="HiddenField3" runat="server" />
                                        <%--<asp:HiddenField ID="MaxRowHiddenField1" runat="server" />--%>

                                        <div class="col-md-12">
                                            <b>
                                                <asp:Label ID="AlumniNameLabel" Style="font-size: 16px; color: red; font-family: Arial" Text="Student Mapping for " runat="server"></asp:Label></b>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FirstNameLabel" runat="server" Text="First Name" meta:resourcekey="SearchCountryTitleLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="FirstNameTextBox" runat="server"
                                                    SkinID="CustomWidthTextbox"
                                                    MaxLength="100"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="LastNameLabel" runat="server" Text="Last Name" meta:resourcekey="SearchCountryTitleLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="LastNameTextBox" runat="server"
                                                    SkinID="CustomWidthTextbox"
                                                    MaxLength="100"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OrganizationLabel" runat="server" Text="Organization" meta:resourcekey="SearchCountryTitleLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="OrganizationDropDownList" AutoPostBack="true" OnSelectedIndexChanged="OrganizationDropDownList_SelectedIndexChanged" runat="server" CssClass="form-control"></asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="BatchLabel" runat="server" Text="Batch" meta:resourcekey="SearchCountryTitleLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="BatchDropDownList" runat="server" CssClass="form-control"></asp:DropDownList>
                                            </div>
                                        </div>
                                        <asp:HiddenField ID="HiddenField4" runat="server" />
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ClassLabel" runat="server" Text="Class" meta:resourcekey="SearchCountryTitleLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ClassDropDownList" runat="server" CssClass="form-control"></asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="StudentIdNoLabel" runat="server" Text="ID No"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5 display-flex">
                                                <asp:TextBox ID="StudentIdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server" MaxLength="200"
                                                    AutoPostBack="true">
                                                </asp:TextBox>
                                                <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentIdNoImageButton"
                                                    runat="server" ImageUrl="~/Images/icons/icon_find.gif" />
                                                <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                            </div>
                                        </div>
                                        <asp:HiddenField ID="HiddenField5" runat="server" />

                                        <div class="alignCenter pTop5 col-md-12 center">
                                            <asp:Button ID="PendingSearchButton" runat="server" OnClick="PendingSearchButton_Click" Text="&#xf002; Search"
                                                TabIndex="2" SkinID="0" class="btn-search btn fas" />

                                        </div>
                                    </asp:Panel>
                                    <div id="Div2" runat="server">

                                        <div class="himssuHeader7WireBox col-md-12" id="Div3"
                                            runat="server" style="width: 99%; margin-right: 5px;">
                                            <div class="himsBoxHeader card-head inner" style="display: none" id="Div4" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle" style="width: 99%">

                                                    <div class="fRight" style="margin-top: 0px;">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent pTop5" runat="server" id="Div5">

                                                <div class="table-responsive">
                                                    <asp:GridView ID="MappingGridView" runat="server" AutoGenerateColumns="False"
                                                        CssClass="table table-striped table-bordered table-hover" OnRowDataBound="MappingGridView_RowDataBound"
                                                        ShowHeader="True" OnPageIndexChanging="MappingGridView_PageIndexChanging" PageSize="10" AllowPaging="False"
                                                        EmptyDataText="No Area Available" meta:resourcekey="AvailableCountriesGridViewResource1" DataKeyNames="AcademicId,MappedStudentId">
                                                        <Columns>
                                                            <asp:TemplateField HeaderText="Id" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource2" Visible="false">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Id" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("AcademicId") %>'
                                                                        Text='<%# Bind("AcademicId") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="20%" />
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="Name" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="Name" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("Name") %>'
                                                                        Text='<%# Bind("Name") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="20%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="OrgantionName" meta:resourcekey="TemplateFieldResource2" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="MiddleNameLabel" runat="server" CssClass="boxEllips" ToolTip='<%# Bind("OrgantionName") %>'
                                                                        Width="200px" Text='<%# Bind("OrgantionName") %>'></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle HorizontalAlign="Left" Width="20%" />
                                                            </asp:TemplateField>

                                                            <asp:TemplateField HeaderText="PassingBatch" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource4">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="LastNameLabel" runat="server" Text='<%# Bind("PassingBatch") %>'
                                                                        meta:resourcekey="ObsoleteLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="20%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="PassingClass" HeaderStyle-HorizontalAlign="Center" meta:resourcekey="TemplateFieldResource4">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ClassNameLabel" runat="server" Text='<%# Bind("PassingClass") %>'
                                                                        meta:resourcekey="ObsoleteLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <ItemStyle Width="10%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="EditLinkButton1" runat="server" CommandName="Select" OnClick="EditLinkButton1_Click"
                                                                        Text="Update" CausesValidation="false"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <%--<PagerSettings Visible="False" />--%>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </asp:Panel>
                    </div>
                </div>
            </div>

        </ContentTemplate>
    </asp:UpdatePanel>
    <%-- <script data-main="../../../JavaScript/rjs/encrypt/country-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/country-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script language="javascript" type="text/javascript">
        function valid(obj) {
            var txt = $(obj).val();
            var charCode = (obj.which) ? obj.which : event.keyCode;
            if (charCode >= 48 && charCode <= 57) {

                return true;
            }

            else {
                $(obj).val('');
                var text = $(obj).val();
                return false;

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