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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="Common" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="EmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">

                        <div class="himsBoxContent">
                            <div class="leftUlMenu">
                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="162"
                                    Visible="true" runat="server" />
                            </div>
                        </div>

                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="card card-box">
                        <div class="himsBoxContent card-body padd-0">
                            <asp:Panel ID="Panel3" runat="Server">
                                <div class="contentHolder">
                                    <div class="tableContainer">
                                        <cc1:TabContainer ID="EmployeeCustomSearchTabContainer" runat="server"
                                            CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox" AutoPostBack="true" meta:resourcekey="EmployeeCustomSearchTabContainerResource1"
                                            ActiveTabIndex="0" OnActiveTabChanged="EmployeeCustomSearchTabContainer_OnActiveTabChanged">
                                            <cc1:TabPanel ID="EmployeeCustomSearch" runat="server" HeaderText="Employee Custom Search">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-search"></i>&nbsp;Payroll Custom Search </a></li>
                                                    </ul>

                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="contentHolder">
                                                        <div class="himssuHeader1WireBox">
                                                            <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                                <div class="contentHolder">
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ForYearLabel" runat="server" Text="For Year" SkinID="MandatoryLabel"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList runat="server" ID="SalaryYearDropDownList" 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="OrganizationLabel" Text="Organization" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="CodeSearchLabel" runat="server" Text="ID No" meta:resourcekey="CodeSearchLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="CodeSearchTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" onmouseenter="showHideTooltip()" meta:resourcekey="CodeSearchTextBoxResource1"
                                                                                MaxLength="20"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="FirstNameSearchLabel" runat="server" Text="First Name" meta:resourcekey="FirstNameSearchLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="FirstNameSearchTextBox" SkinID="CustomWidthTextBox" Width="150px"
                                                                                runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                meta:resourcekey="FirstNameSearchTextBoxResource1" MaxLength="50"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="LastNameLabel" runat="server" Text="Last Name"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="LastNameSearchTextBox" SkinID="CustomWidthTextBox" Width="150px"
                                                                                runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                                meta:resourcekey="LastNameSearchTextBoxResource1" MaxLength="50"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="StatusLabel1" runat="server" Text="Status"></asp:Label>
                                                                        </div>
                                                                        <asp:DropDownList ID="StatusDropDownList" runat="server" class="form-control" SkinID="CustomWidthDropDownList"
                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                    </div>

                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="DOBFromdateLabel" runat="server" Text="DOB(FromDate)" meta:resourcekey="DOBLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DOBFromDateTextBox" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="DBOTodateLabel" runat="server" Text="DOB(ToDate)" meta:resourcekey="DOBLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DOBToDateTextBox" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="DOJFromDateLabel" runat="server" Text="DOJ(FromDate)" meta:resourcekey="DOJLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DOJFromDateTextBox" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="DOJToDateLabel" runat="server" Text="DOJ(ToDate)" meta:resourcekey="DOJLabelResource1"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DOJToDateTextBox" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="cBoth"></div>
                                                                    <div class="outerBox11 pTop15 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="StatusCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="StatusCheckBox_OnCheckedChanged" Text="Status" />
                                                                            <%--<asp:Label ID="StatusLabel" runat="server" Text="Status"></asp:Label>--%>
                                                                        </div>
                                                                        <div id="StatusDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="StatusCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop15 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="ReligionCheckBox" runat="server" AutoPostBack="True" Text="Religion" OnCheckedChanged="ReligionCheckBox_OnCheckedChanged" />
                                                                            <%--<asp:Label ID="ReligionLabel" runat="server" ></asp:Label>--%>
                                                                        </div>
                                                                        <div id="ReligionDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="ReligionCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop15 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="MaritalStatusCheckBox" runat="server" AutoPostBack="True" Text="Marital Status" OnCheckedChanged="MaritalStatusCheckBox_OnCheckedChanged" />
                                                                            <%--<asp:Label ID="MaritalStatusLabel" runat="server" Text="Marital Status"></asp:Label>--%>
                                                                        </div>
                                                                        <div id="MaritalStatusDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="MaritalStatusCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="QualificationLabel" runat="server" Text="Qualification"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:TextBox ID="QualificationTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                                SkinID="CustomWidthTextBox" onmouseenter="showHideTooltip()" MaxLength="20"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop15 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="GenderCheckBox" runat="server" AutoPostBack="True" Text="Gender" OnCheckedChanged="GenderCheckBox_OnCheckedChanged" />
                                                                            <%--<asp:Label ID="GenderListBoxLabel" runat="server" Text="Gender"></asp:Label>--%>
                                                                        </div>
                                                                        <div id="GenderDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="GenderCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop15 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="EmployeeDesignationCheckBox" runat="server" Text="Designation" AutoPostBack="True"
                                                                                OnCheckedChanged="EmployeeDesignationCheckBox_OnCheckedChanged" />
                                                                            <%--<asp:Label ID="EmployeeDesignationLabel" runat="server" Text="Designation"></asp:Label>--%>
                                                                        </div>
                                                                        <div id="EmployeeDesignationDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="EmployeeDesignationCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox11 pTop15 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="EmployeeTypeCheckBox" runat="server" AutoPostBack="True" Text="Employee Type" OnCheckedChanged="EmployeeTypeCheckBox_OnCheckedChanged" />
                                                                            <%--<asp:Label ID="EmployeeTypeLabel" runat="server" Text="Employee Type"></asp:Label>--%>
                                                                        </div>
                                                                        <div id="EmployeeTypeDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="EmployeeTypeCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop15 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="EmployeeGroupCheckBox" runat="server" AutoPostBack="True" Text="Employee Group" OnCheckedChanged="EmployeeGroupCheckBox_OnCheckedChanged" />
                                                                            <%--<asp:Label ID="EmployeeGroupLabel" runat="server" Text="Employee Group"></asp:Label>--%>
                                                                        </div>
                                                                        <div id="EmployeeGroupDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="EmployeeGroupCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop15 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="BloodGroupCheckBox" runat="server" AutoPostBack="True" Text="Blood Group" OnCheckedChanged="BloodGroupCheckBox_OnCheckedChanged" />
                                                                            <%--<asp:Label ID="BloodGroupLabel" runat="server" Text="Blood Group"></asp:Label>--%>
                                                                        </div>
                                                                        <div id="BloodGroupDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="BloodGroupCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>

                                                                    <div class="outerBox11 pTop15 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="OrganizationDepartmentCheckBox" runat="server" AutoPostBack="True"
                                                                                OnCheckedChanged="OrganizationDepartmentCheckBox_OnCheckedChanged" Text="Organization Department" />
                                                                            <%--<asp:Label ID="OrganizationDepartmentLabel" runat="server" Text="Organization Department"></asp:Label>--%>
                                                                        </div>
                                                                        <div id="OrganizationDepartmentDiv" runat="server" visible="False" class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                            <asp:CheckBoxList ID="OrganizationDepartmentCheckBoxList" runat="server">
                                                                            </asp:CheckBoxList>
                                                                        </div>
                                                                    </div>
                                                                    <div class="outerBox11 pTop15 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:CheckBox ID="SaveReportCheckBox" runat="server" AutoPostBack="True" Text="Save Report" OnCheckedChanged="SaveReportCheckBox_OnCheckedChanged" />
                                                                            <%--<asp:Label ID="SaveReportLabel" runat="server" Text="Save Report"></asp:Label>--%>
                                                                        </div>
                                                                    </div>
                                                                    <div id="SaveReportDiv" runat="server" visible="False" class="fLeft pRight5">

                                                                        <div class="outerBox pTop15 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="IsCommonCheckBox" runat="server" Text="IsCommon For Users" />
                                                                                <%--<asp:Label ID="IsCommonLabel" runat="server" Text="IsCommon"></asp:Label>--%>
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop15 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:CheckBox ID="IsCommonForOrgCheckBox" runat="server" Text="IsCommon For Organization" />
                                                                                <%--<asp:Label ID="IsCommonLabel" runat="server" Text="IsCommon"></asp:Label>--%>
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop15 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="TitleLabel" runat="server" Text="Report Name" meta:resourcekey="TitleLabelResource1"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:TextBox ID="TitleTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource1"
                                                                                    MaxLength="50"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <div class="outerBox pTop15 col-md-3">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="Label1" runat="server" Text="Select Report" meta:resourcekey="TitleLabelResource1"></asp:Label>
                                                                            </div>
                                                                            <div class="controlLabelWidth">
                                                                                <asp:DropDownList ID="SavedReportDropDownList" AutoPostBack="true" OnSelectedIndexChanged="SavedReportDropDownList_SelectedIndexChanged" runat="server" class="form-control" SkinID="CustomWidthDropDownList"
                                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                            </div>
                                                                        </div>
                                                                       
                                                                    </div>
                                                                     <div class="outerBox pTop5 col-md-3">
                                                                        <div class="controlLabelWidth">
                                                                            <asp:Label ID="ViewModeLabel" runat="server" Text="View Mode"></asp:Label>
                                                                        </div>
                                                                        <div class="fLeft pRight5">
                                                                            <asp:DropDownList ID="ViewModeDropDownList" runat="server" class="form-control" SkinID="CustomWidthDropDownList"
                                                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="ViewModeDropDownListResource" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="cBoth"></div>
                                                                </div>
                                                            </asp:Panel>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel ID="CustomField" ClientIDMode="Static" runat="server"
                                                HeaderText="Custom Field">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-pencil-alt"></i>&nbsp;Custom Field </a></li>
                                                    </ul>

                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="contentHolder">
                                                        <div class="himssuHeader1WireBox">

                                                            <div class="col-md-12">
                                                                <div class="col-sm-5">
                                                                    <div class="form-group card-head width-100 inner">
                                                                        <div class="headerText">
                                                                            <header>
                                                                                <asp:Label ID="AvailableFieldLabel" runat="server" Text="Available Fields" meta:resourcekey="AvailableFieldLabelResource1"></asp:Label>
                                                                            </header>
                                                                        </div>
                                                                    </div>

                                                                    <div class="width-100">
                                                                        <asp:ListBox ID="AvailableFieldListBox" DataTextField="ColumnName" DataValueField="ColumnName"
                                                                            runat="server" SelectionMode="Multiple" TabIndex="1"
                                                                            meta:resourcekey="AvailableFieldListBoxResource1" CssClass="height300 selection"></asp:ListBox>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-1">
                                                                    <div class="outer">
                                                                        <div class="middle ">
                                                                            <div class="inner">
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <asp:LinkButton ID="AddButton" runat="server" meta:resourcekey="AddButtonResource1"
                                                                                    OnClick="AddButton_OnClick">
                                                                <i class="fa fa-toggle-right fa-2x arrowblck" ></i>
                                                                                </asp:LinkButton>
                                                                                <br />
                                                                                <asp:LinkButton ID="RemoveButton" runat="server" meta:resourcekey="RemoveButtonResource1"
                                                                                    OnClick="RemoveButton_OnClick">
                                                                    <i class="fa fa-toggle-left fa-2x arrowblck"></i>
                                                                                </asp:LinkButton>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-5">
                                                                    <div class="form-group  card-head width-100 inner">
                                                                        <div class="headerText">
                                                                            <header>
                                                                                <asp:Label ID="SelectedFieldLabel" runat="server" Text="Selected Field(s)" meta:resourcekey="SelectedFieldLabelResource1"></asp:Label>
                                                                            </header>
                                                                        </div>

                                                                    </div>
                                                                    <div class="width-100">
                                                                        <asp:ListBox ID="SelectedFieldListBox" runat="server" SelectionMode="Multiple"
                                                                            TabIndex="2" meta:resourcekey="SelectedFieldListBoxResource1" CssClass="height300 selection"></asp:ListBox>
                                                                        <asp:HiddenField runat="server" ID="SelectedColumnNameHiddenField" />
                                                                    </div>
                                                                </div>
                                                                <div class="col-sm-1">
                                                                    <div class="outer">
                                                                        <div class="middle">
                                                                            <div class="inner">
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <br />
                                                                                <asp:LinkButton ID="CFUpButton" runat="server" meta:resourcekey="CFUpButtonResource1"
                                                                                    OnClick="CFUpButton_OnClick">
                                                                <i class="fa fa-toggle-up fa-2x arrowblck"></i>
                                                                                </asp:LinkButton>

                                                                                <br />
                                                                                <asp:LinkButton ID="CFDownButton" runat="server" Text="Down" meta:resourcekey="CFDownButtonResource1"
                                                                                    OnClick="CFDownButton_OnClick">
                                                                    <i class="fa fa-toggle-down fa-2x arrowblck"></i>
                                                                                </asp:LinkButton>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>


                                                            <div class="col-md-12">
                                                                <div class="alert alert-info">
                                                                    <i class="material-icons">info</i> |
                                                                                Press ctrl key for multiple selection
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel ID="OrderBy" ClientIDMode="Static" runat="server" HeaderText="Order By">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-sort-alpha-up"></i>&nbsp;Order By  </a></li>
                                                    </ul>

                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="contentHolder">
                                                        <div class="himssuHeader1WireBox ">
                                                            <div class="contentHolder">
                                                                <div class="col-md-12">
                                                                    <div class="col-sm-5">
                                                                        <div class="form-group card-head width-100 inner">
                                                                            <div class="headerText">
                                                                                <header>
                                                                                    <asp:Label ID="OBAvailableFieldLabel" runat="server" Text="Available Fields" meta:resourcekey="OBAvailableFieldLabelResource1"></asp:Label>
                                                                                </header>
                                                                            </div>
                                                                        </div>

                                                                        <div class="width-100">
                                                                            <asp:ListBox ID="OBAvailableFieldListBox" DataTextField="ColumnName" DataValueField="ColumnName"
                                                                                runat="server" SelectionMode="Multiple" TabIndex="1"
                                                                                meta:resourcekey="OBAvailableFieldListBoxResource1" CssClass="height300 selection"></asp:ListBox>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-sm-1">
                                                                        <div class="outer">
                                                                            <div class="middle ">
                                                                                <div class="inner">
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <asp:LinkButton ID="OBAddButton" runat="server" meta:resourcekey="OBAddButtonResource1"
                                                                                        OnClick="OBAddButton_OnClick">
                                                                                        <i class="fa fa-toggle-right fa-2x arrowblck"></i>
                                                                                    </asp:LinkButton>
                                                                                    <br />
                                                                                    <asp:LinkButton ID="OBRemoveButton" runat="server" meta:resourcekey="OBRemoveButtonResource1"
                                                                                        OnClick="OBRemoveButton_OnClick">
                                                                                            <i class="fa fa-toggle-left fa-2x arrowblck"></i>
                                                                                    </asp:LinkButton>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-sm-5">
                                                                        <div class="form-group  card-head width-100 inner">
                                                                            <div class="headerText">
                                                                                <header>
                                                                                    <asp:Label ID="OBSelectedFieldLabel" runat="server" Text="Selected Field(s)" meta:resourcekey="OBSelectedFieldLabelResource1"></asp:Label>
                                                                                </header>
                                                                            </div>

                                                                        </div>
                                                                        <div class="width-100">
                                                                            <asp:ListBox ID="OBSelectedFieldListBox" runat="server" SelectionMode="Multiple"
                                                                                TabIndex="2" meta:resourcekey="OBSelectedFieldListBoxResource1" CssClass="height300 selection"></asp:ListBox>
                                                                            <asp:HiddenField runat="server" ID="OBSelectedColumnNameHiddenField" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-sm-1">
                                                                        <div class="outer">
                                                                            <div class="middle ">
                                                                                <div class="inner">
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <br />
                                                                                    <asp:LinkButton ID="OBUpButton" runat="server" meta:resourcekey="OBAddButtonResource1"
                                                                                        OnClick="OBUpButton_OnClick">
                                                                                        <i class="fa fa-toggle-up fa-2x arrowblck"></i>
                                                                                    </asp:LinkButton>
                                                                                    <br />
                                                                                    <asp:LinkButton ID="OBDownButton" runat="server" meta:resourcekey="CFAddButtonResource1"
                                                                                        OnClick="OBDownButton_OnClick">
                                                                                            <i class="fa fa-toggle-down fa-2x arrowblck"></i>
                                                                                    </asp:LinkButton>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>


                                                                <div class="col-md-12">
                                                                    <div class="alert alert-info">
                                                                        <i class="material-icons">info</i> |
                                                                        Press ctrl key for multiple selection
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel ID="ReportList" ClientIDMode="Static" runat="server" HeaderText="Report List">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-file-alt"></i>&nbsp;Report List </a></li>
                                                    </ul>

                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="contentHolder">
                                                        <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                        <div id="ReportListGridDiv" runat="server">
                                                            <div class="himssuHeader1WireBox col-md-12 pTop10 pb5">
                                                                <div id="ReportListGridViewPagerDiv" runat="server" visible="False">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="gridHeaderText ">
                                                                        </div>
                                                                        <div class="pull-right">
                                                                            <uc1:GridViewPager ID="ReportListGridViewPager" ParentGridView="ReportListGridView"
                                                                                runat="server" OnFirstRecordClick="ReportListGridViewPager_FirstRecordClick"
                                                                                OnLastRecordClick="ReportListGridViewPager_LastRecordClick" OnNextRecordClick="ReportListGridViewPager_NextRecordClick"
                                                                                OnPrevRecordClick="ReportListGridViewPager_PrevRecordClick" OnTextBoxValueChange="ReportListGridViewPager_TextBoxValueChange" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent width-100">
                                                                    <div class="table-responsive">
                                                                        <asp:GridView runat="server" ID="ReportListGridView" Width="100%" AutoGenerateColumns="False"
                                                                            EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="ReportListGridView_RowDataBound"
                                                                            DataKeyNames="Id,Title" AllowPaging="True" ShowHeader="true" meta:resourcekey="ReportListGridViewResource1"
                                                                            CssClass="table table-striped table-bordered">
                                                                            <Columns>
                                                                                <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="15%"></asp:BoundField>
                                                                                <asp:TemplateField ItemStyle-Width="65%" HeaderText="Column Name">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="ColumnNameLabel" runat="server" Text='<%# Eval("ColumnName") %>' ToolTip='<%# Eval("ColumnName") %>'
                                                                                            Width="840px" CssClass="boxEllips"></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="ViewLinkButton" runat="server" CommandName="Select" OnClick="ViewLinkButton_Click"
                                                                                            Text="View" CausesValidation="false"></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:BoundField DataField="CreatedUserName" HeaderText="Created UserName" ItemStyle-Width="10%"
                                                                                    HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                <asp:TemplateField ShowHeader="true" HeaderText="Delete" ItemStyle-HorizontalAlign="Center"
                                                                                    ItemStyle-Width="5%">
                                                                                    <ItemTemplate>
                                                                                        <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                                            ToolTip="Delete" Enabled='<%# DataBinder.Eval(Container.DataItem,"IsDelete") %>' />
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>

                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                        </cc1:TabContainer>
                                    </div>
                                    <div class="alignCenter pTop15 col-md-12">
                                        <asp:Button ID="SearchButton" runat="server" Text="&#xf002; Search" OnClick="SearchButton_Click"
                                            SkinID="0" CssClass="btn-search btn fas" />
                                        <asp:Button ID="ClearButton" runat="server" Text="&#xf0e2; Reset" OnClick="ClearSearchControls_Click" SkinID="0" CssClass="btn-reset btn fas" />
                                        <asp:Button ID="GenerateReportButton" runat="server" Text="&#Xf079; Generate Report"
                                            OnClick="GenerateReportButton_Click" Enabled="false" SkinID="0" CssClass="btn-generate btn fas" />
                                    </div>


                                    <div id="EmployeeMasterGridDiv" runat="server">
                                        <div class="himssuHeader6WireBox col-md-12 pb5 mt2">
                                            <div class="himsBoxHeader" id="EmployeeMasterGridViewPagerDiv" runat="server" visible="False">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="gridHeaderText">
                                                        <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="True" meta:resourcekey="GridViewLabelResource1"
                                                            ForeColor="White" />
                                                    </div>
                                                    <div class="">
                                                        <uc1:GridViewPager ID="EmployeeMasterGridViewPager" ParentGridView="EmployeeMasterGridView"
                                                            runat="server" OnFirstRecordClick="EmployeeMasterGridViewPager_FirstRecordClick"
                                                            OnLastRecordClick="EmployeeMasterGridViewPager_LastRecordClick" OnNextRecordClick="EmployeeMasterGridViewPager_NextRecordClick"
                                                            OnPrevRecordClick="EmployeeMasterGridViewPager_PrevRecordClick" OnTextBoxValueChange="EmployeeMasterGridViewPager_TextBoxValueChange" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <div class="table-responsive">
                                                    <asp:GridView runat="server" ID="EmployeeMasterGridView" AutoGenerateColumns="False"
                                                        EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="EmployeeMasterGridView_RowDataBound"
                                                        DataKeyNames="EmployeeId" AllowPaging="True" PageSize="10" OnSelectedIndexChanged="EmployeeMasterGridView_SelectedIndexChanged"
                                                        ShowHeader="True" meta:resourcekey="EmployeeMasterGridViewResource1" CssClass="table table-striped table-bordered table-hover">
                                                        <Columns>
                                                            <asp:CommandField ShowSelectButton="True" meta:resourcekey="CommandFieldResource1"
                                                                Visible="false">
                                                                <ItemStyle HorizontalAlign="Center" ForeColor="Blue" Width="5%" />
                                                            </asp:CommandField>
                                                            <asp:BoundField DataField="OrgName" HeaderText="Organization" ItemStyle-Width="20%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="OrganizationDepartment" HeaderText="Department" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="Code" HeaderText="Code" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="EmployeeType" HeaderText="Employee Type" ItemStyle-Width="20%"
                                                                HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:TemplateField HeaderText="Status" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Center"
                                                                ItemStyle-Width="10%" ItemStyle-Wrap="true">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="StatLabel" Width="100px" runat="server" Text='<%# Eval("StatusName") %>'
                                                                        Font-Bold="true"></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
