<%@ page title="Recruitment Status Log" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Recruitment_RecruitmentStatusLog, App_Web_wjdz1dic" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/Recruitment/VacancyDetailBoxControl.ascx" TagName="VacancyControl" TagPrefix="Vacancy" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage">
                <div class="dashBoardLeftCont" valign="top">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="229"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <Vacancy:VacancyControl ID="VacancyUserControl" runat="server" Visible="true" />
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="TopPanel" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </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="PanelSearch" runat="server" meta:resourcekey="PanelSearchResource1">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="CodeSearchLabel" runat="server" Text="CandidateNo" meta:resourcekey="CodeSearchLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="CandidateNoTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" onmouseenter="showHideTooltip()" meta:resourcekey="CodeSearchTextBoxResource1"
                                                    MaxLength="9" onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="RecruitmentStatusSearchLabel" runat="server" Text="Recruitment Status"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="RecruitmentStatusDropDownList" SkinID="CustomWidthDropDownList"
                                                    class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchFromDateLabel" runat="server" Text="From Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="SearchFromDatePicker" runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchToDateLabel" runat="server" Text="To Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="SearchToDatePicker" runat="server" />
                                            </div>
                                        </div>
                                        <div class="alignCenter col-md-12 pTop15 pb5">
                                            <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click" Text="&#xf002; Search" SkinID="0" CssClass="btn-search btn fas" />
                                            <asp:Button ID="ResetButton" runat="server" OnClick="ResetButton_Click" Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" />
                                        </div>
                                    </asp:Panel>
                                    <div id="AllergyGridDiv" runat="server" visible="true">
                                        <div class="himssuHeader7WireBox col-md-12 " id="PatientRelationDiv" runat="server" width="100%">
                                            <div class="himsBoxHeader" id="ListDiv" runat="server" visible="False">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle" style="width: 99%">
                                                    <div class="gridHeaderText">
                                                        <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="True" meta:resourcekey="GridViewLabelResource1"
                                                            ForeColor="White" />
                                                    </div>
                                                    <div class="col-md-12 padd-0">
                                                        <div class="col-md-5">
                                                            <asp:Label ID="RecordsPerPage" Text="Records per Page : " runat="server" />
                                                            <asp:DropDownList ID="AddRowsToGridDropDownList" SkinID="CustomWidthDropDownList" Width="60px" runat="server"
                                                                AutoPostBack="true" OnSelectedIndexChanged="AddRowsToGridDropDownList_SelectedIndexChanged">
                                                                <asp:ListItem Text="10" Value="10" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="20" Value="20"></asp:ListItem>
                                                                <asp:ListItem Text="50" Value="50"></asp:ListItem>
                                                                <asp:ListItem Text="100" Value="100"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                        <div class="col-md-7">
                                                        <uc1:GridViewPager ID="RcruitmentStatusLogGridViewPager" ParentGridView="RcruitmentStatusLogGridView"
                                                            runat="server" OnFirstRecordClick="RcruitmentStatusLogGridViewPager_FirstRecordClick"
                                                            OnLastRecordClick="RcruitmentStatusLogGridViewPager_LastRecordClick" OnNextRecordClick="RcruitmentStatusLogGridViewPager_NextRecordClick"
                                                            OnPrevRecordClick="RcruitmentStatusLogGridViewPager_PrevRecordClick" OnTextBoxValueChange="RcruitmentStatusLogGridViewPager_TextBoxValueChange" />
                                                    </div>
                                                </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent card-body col-md-12">
                                                <div class="himsBoxContentMsg" id="GridMessageDiv" runat="server"
                                                    visible="False">
                                                </div>
                                                <asp:HiddenField ID="SetUpHiddenField" runat="server" />
                                                <div id="Div1" runat="server" visible="false" class= "table-responsive">
                                                    <asp:GridView ID="RcruitmentStatusLogGridView" runat="server" AutoGenerateColumns="False"
                                                        OnPageIndexChanging="AdmissionCriteriaGridView_PageIndexChanging" CssClass="table table-striped table-bordered table-hover"
                                                        EmptyDataText="No records available for the seacrh criteria!" ShowHeader="True" DataKeyNames="CandidateId,RecruitmentStatusId"
                                                        meta:resourcekey="AdmissionCriteriaGridViewResource1" AllowPaging="True" PageSize="10">
                                                        <Columns>
                                                            <asp:TemplateField HeaderText="Candidate No" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="CandidateNumberLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("CandidateNumber")%>'
                                                                        Text='<%#Eval("CandidateNumber") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Name" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="NameLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("Name")%>'
                                                                        Text='<%#Bind("Name")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Qualification" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="QualificationLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("Qualification")%>'
                                                                        Text='<%#Bind("Qualification")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="RecruitmentStatus" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="RecruitmentStatusLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("RecruitmentStatus")%>'
                                                                        Text='<%#Bind("RecruitmentStatus")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="CreatedDateTime" HeaderText="To Date" DataFormatString="{0:dd/MM/yyyy}"
                                                                ItemStyle-Width="11%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:TemplateField HeaderText="Remark" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="RemarkLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("Remark")%>'
                                                                        Text='<%#Bind("Remark")%>'></asp:Label>
                                                                </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/select-report-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/recruitment-status-log")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>
