<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hrm_Payroll_PayrollCustomSearch, App_Web_ivx2pp1p" 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">
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0"
                        cellspacing="0">
                        <tr>
                            <td class="dashBoardLeftCont" valign="top">
                                <div class="himssuHeader3WireBox">
                                    <table width="0px" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="162"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                            <td style="vertical-align: top" width="100%" class="whiteboxpaddingleft">
                                <div class="himsBoxContent whitebox">
                                    <asp:Panel ID="Panel3" runat="Server">
                                        <div class="contentHolder">
                                            <div class="tableContainer">
                                                <cc1:TabContainer Width="100%" ID="EmployeeCustomSearchTabContainer" runat="server"
                                                    CssClass="ajax__myTab" AutoPostBack="true" meta:resourcekey="EmployeeCustomSearchTabContainerResource1"
                                                    ActiveTabIndex="0" OnActiveTabChanged="EmployeeCustomSearchTabContainer_OnActiveTabChanged">
                                                    <cc1:TabPanel Width="100%" ID="EmployeeCustomSearch" runat="server" HeaderText="Employee Custom Search">
                                                        <HeaderTemplate>
                                                            <ul class="nav nav-tabs ajaxnavtabs">
                                                                <li><a style="padding: 10px 15px !important;">Employee 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="outerBox11 pTop5">
                                                                                <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"
                                                                                        Width="154px" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="OrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                                                </div>
                                                                                <div class="fLeft pRight5">
                                                                                    <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" Width="154px">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="cBoth">
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <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" Width="150px" onmouseenter="showHideTooltip()" meta:resourcekey="CodeSearchTextBoxResource1"
                                                                                        MaxLength="20"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <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="outerBox11 pTop5">
                                                                                <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="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:Label ID="StatusLabel1" runat="server" Text="Status"></asp:Label>
                                                                                </div>
                                                                                <asp:DropDownList ID="StatusDropDownList" runat="server" Width="154px" SkinID="CustomWidthDropDownList"
                                                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                                                            </div>
                                                                            <div class="cBoth">
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <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="outerBox11 pTop5">
                                                                                <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="outerBox11 pTop5">
                                                                                <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="outerBox11 pTop5">
                                                                                <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 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="StatusCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="StatusCheckBox_OnCheckedChanged" />
                                                                                    <asp:Label ID="StatusLabel" runat="server" Text="Status"></asp:Label>
                                                                                </div>
                                                                                <div id="StatusDiv" runat="server" visible="False" class="fLeft pRight5" style="overflow: auto;
                                                                                    height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                    <asp:CheckBoxList ID="StatusCheckBoxList" runat="server">
                                                                                    </asp:CheckBoxList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="ReligionCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="ReligionCheckBox_OnCheckedChanged" />
                                                                                    <asp:Label ID="ReligionLabel" runat="server" Text="Religion"></asp:Label>
                                                                                </div>
                                                                                <div id="ReligionDiv" runat="server" visible="False" class="fLeft pRight5" style="overflow: auto;
                                                                                    height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                    <asp:CheckBoxList ID="ReligionCheckBoxList" runat="server">
                                                                                    </asp:CheckBoxList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="MaritalStatusCheckBox" runat="server" AutoPostBack="True" 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" style="overflow: auto;
                                                                                    height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                    <asp:CheckBoxList ID="MaritalStatusCheckBoxList" runat="server">
                                                                                    </asp:CheckBoxList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="cBoth">
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <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" Width="150px" onmouseenter="showHideTooltip()" MaxLength="20"></asp:TextBox>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="GenderCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="GenderCheckBox_OnCheckedChanged" />
                                                                                    <asp:Label ID="GenderListBoxLabel" runat="server" Text="Gender"></asp:Label>
                                                                                </div>
                                                                                <div id="GenderDiv" runat="server" visible="False" class="fLeft pRight5" style="overflow: auto;
                                                                                    height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                    <asp:CheckBoxList ID="GenderCheckBoxList" runat="server">
                                                                                    </asp:CheckBoxList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="EmployeeDesignationCheckBox" runat="server" 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"
                                                                                    style="overflow: auto; height: 100px; width: 150px; border-color: Silver; border-width: thin;
                                                                                    border-style: ridge">
                                                                                    <asp:CheckBoxList ID="EmployeeDesignationCheckBoxList" runat="server">
                                                                                    </asp:CheckBoxList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="cBoth">
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="EmployeeTypeCheckBox" runat="server" AutoPostBack="True" 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" style="overflow: auto;
                                                                                    height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                    <asp:CheckBoxList ID="EmployeeTypeCheckBoxList" runat="server">
                                                                                    </asp:CheckBoxList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="EmployeeGroupCheckBox" runat="server" AutoPostBack="True" 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" style="overflow: auto;
                                                                                    height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                    <asp:CheckBoxList ID="EmployeeGroupCheckBoxList" runat="server">
                                                                                    </asp:CheckBoxList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="BloodGroupCheckBox" runat="server" AutoPostBack="True" 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" style="overflow: auto;
                                                                                    height: 100px; width: 150px; border-color: Silver; border-width: thin; border-style: ridge">
                                                                                    <asp:CheckBoxList ID="BloodGroupCheckBoxList" runat="server">
                                                                                    </asp:CheckBoxList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="cBoth">
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="OrganizationDepartmentCheckBox" runat="server" AutoPostBack="True"
                                                                                        OnCheckedChanged="OrganizationDepartmentCheckBox_OnCheckedChanged" />
                                                                                    <asp:Label ID="OrganizationDepartmentLabel" runat="server" Text="Organization Department"></asp:Label>
                                                                                </div>
                                                                                <div id="OrganizationDepartmentDiv" runat="server" visible="False" class="fLeft pRight5"
                                                                                    style="overflow: auto; height: 100px; width: 150px; border-color: Silver; border-width: thin;
                                                                                    border-style: ridge">
                                                                                    <asp:CheckBoxList ID="OrganizationDepartmentCheckBoxList" runat="server">
                                                                                    </asp:CheckBoxList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="outerBox11 pTop5">
                                                                                <div class="controlLabelWidth">
                                                                                    <asp:CheckBox ID="SaveReportCheckBox" runat="server" AutoPostBack="True" 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="outerBox11 pTop5">
                                                                                    <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" Width="150px" runat="server"
                                                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" meta:resourcekey="TitleTextBoxResource1"
                                                                                            MaxLength="50"></asp:TextBox>
                                                                                    </div>
                                                                                </div>
                                                                                <div class="outerBox11 pTop5">
                                                                                    <div class="controlLabelWidth">
                                                                                        <asp:CheckBox ID="IsCommonCheckBox" runat="server" />
                                                                                        <asp:Label ID="IsCommonLabel" runat="server" Text="IsCommon"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="cBoth">
                                                                            </div>
                                                                        </div>
                                                                    </asp:Panel>
                                                                </div>
                                                            </div>
                                                        </ContentTemplate>
                                                    </cc1:TabPanel>
                                                    <cc1:TabPanel Width="100%" ID="CustomField" ClientIDMode="Static" runat="server"
                                                        HeaderText="Custom Field">
                                                        <HeaderTemplate>
                                                            <ul class="nav nav-tabs ajaxnavtabs">
                                                                <li><a style="padding: 10px 15px !important;">Custom Field </a></li>
                                                            </ul>
                                                        </HeaderTemplate>
                                                        <ContentTemplate>
                                                            <div class="contentHolder">
                                                                <div class="himssuHeader1WireBox">
                                                                    <div class="contentHolder" style="height: 400px">
                                                                        <table style="margin-left: 10px">
                                                                            <tr>
                                                                                <td style="padding-left: 0px">
                                                                                    <asp:Label ID="AvailableFieldLabel" runat="server" Text="Available Fields" meta:resourcekey="AvailableFieldLabelResource1"></asp:Label>
                                                                                </td>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Label ID="SelectedFieldLabel" runat="server" Text="Selected Field(s)" meta:resourcekey="SelectedFieldLabelResource1"></asp:Label>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td rowspan="2">
                                                                                    <asp:ListBox ID="AvailableFieldListBox" DataTextField="ColumnName" DataValueField="ColumnName"
                                                                                        runat="server" SelectionMode="Multiple" Height="350px" Width="150px" TabIndex="1"
                                                                                        meta:resourcekey="AvailableFieldListBoxResource1"></asp:ListBox>
                                                                                </td>
                                                                                <td>
                                                                                    &nbsp;<asp:LinkButton ID="AddButton" runat="server" meta:resourcekey="AddButtonResource1"
                                                                                        OnClick="AddButton_OnClick">
                                                                                    <i class="fa fa-toggle-right fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>&nbsp;
                                                                                    <br />
                                                                                    <br />
                                                                                    &nbsp;<asp:LinkButton ID="RemoveButton" runat="server" meta:resourcekey="RemoveButtonResource1"
                                                                                        OnClick="RemoveButton_OnClick">
                                                                                        <i class="fa fa-toggle-left fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>
                                                                                </td>
                                                                                <td rowspan="2">
                                                                                    <asp:ListBox ID="SelectedFieldListBox" runat="server" SelectionMode="Multiple" Height="350px"
                                                                                        Width="150px" TabIndex="2" meta:resourcekey="SelectedFieldListBoxResource1">
                                                                                    </asp:ListBox>
                                                                                    <asp:HiddenField runat="server" ID="SelectedColumnNameHiddenField" />
                                                                                </td>
                                                                                <td>
                                                                                    &nbsp;<asp:LinkButton ID="CFUpButton" runat="server" meta:resourcekey="CFUpButtonResource1"
                                                                                        OnClick="CFUpButton_OnClick">
                                                                                    <i class="fa fa-toggle-up fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>
                                                                                    <br />
                                                                                    <br />
                                                                                    &nbsp;<asp:LinkButton ID="CFDownButton" runat="server" Text="Down" meta:resourcekey="CFDownButtonResource1"
                                                                                        OnClick="CFDownButton_OnClick">
                                                                                        <i class="fa fa-toggle-down fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <div class="helppadding">
                                                                            <div class="help help-info">
                                                                                Press ctrl key for multiple selection
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </ContentTemplate>
                                                    </cc1:TabPanel>
                                                    <cc1:TabPanel Width="100%" ID="OrderBy" ClientIDMode="Static" runat="server" HeaderText="Order By">
                                                        <HeaderTemplate>
                                                            <ul class="nav nav-tabs ajaxnavtabs">
                                                                <li><a style="padding: 10px 15px !important;">Order By </a></li>
                                                            </ul>
                                                        </HeaderTemplate>
                                                        <ContentTemplate>
                                                            <div class="contentHolder">
                                                                <div class="himssuHeader1WireBox">
                                                                    <div class="contentHolder" style="height: 400px">
                                                                        <table style="margin-left: 10px">
                                                                            <tr>
                                                                                <td>
                                                                                    <asp:Label ID="OBAvailableFieldLabel" runat="server" Text="Available Fields" meta:resourcekey="OBAvailableFieldLabelResource1"></asp:Label>
                                                                                </td>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Label ID="OBSelectedFieldLabel" runat="server" Text="Selected Field(s)" meta:resourcekey="OBSelectedFieldLabelResource1"></asp:Label>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td rowspan="2">
                                                                                    <asp:ListBox ID="OBAvailableFieldListBox" DataTextField="ColumnName" DataValueField="ColumnName"
                                                                                        runat="server" SelectionMode="Multiple" Height="350px" Width="150px" TabIndex="1"
                                                                                        meta:resourcekey="OBAvailableFieldListBoxResource1"></asp:ListBox>
                                                                                </td>
                                                                                <td>
                                                                                    &nbsp;<asp:LinkButton ID="OBAddButton" runat="server" meta:resourcekey="OBAddButtonResource1"
                                                                                        OnClick="OBAddButton_OnClick">
                                                                                        <i class="fa fa-toggle-right fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>&nbsp;
                                                                                    <br />
                                                                                    <br />
                                                                                    &nbsp;<asp:LinkButton ID="OBRemoveButton" runat="server" meta:resourcekey="OBRemoveButtonResource1"
                                                                                        OnClick="OBRemoveButton_OnClick">
                                                                                            <i class="fa fa-toggle-left fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>
                                                                                </td>
                                                                                <td rowspan="2">
                                                                                    <asp:ListBox ID="OBSelectedFieldListBox" runat="server" SelectionMode="Multiple"
                                                                                        Height="350px" Width="150px" TabIndex="2" meta:resourcekey="OBSelectedFieldListBoxResource1">
                                                                                    </asp:ListBox>
                                                                                    <asp:HiddenField runat="server" ID="OBSelectedColumnNameHiddenField" />
                                                                                </td>
                                                                                <td>
                                                                                    &nbsp;<asp:LinkButton ID="OBUpButton" runat="server" meta:resourcekey="OBAddButtonResource1"
                                                                                        OnClick="OBUpButton_OnClick">
                                                                                        <i class="fa fa-toggle-up fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>
                                                                                    <br />
                                                                                    <br />
                                                                                    &nbsp;<asp:LinkButton ID="OBDownButton" runat="server" meta:resourcekey="CFAddButtonResource1"
                                                                                        OnClick="OBDownButton_OnClick">
                                                                                            <i class="fa fa-toggle-down fa-2x" style="color:black"></i>
                                                                                    </asp:LinkButton>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <div class="helppadding">
                                                                            <div class="help help-info">
                                                                                Press ctrl key for multiple selection
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </ContentTemplate>
                                                    </cc1:TabPanel>
                                                    <cc1:TabPanel Width="100%" ID="ReportList" ClientIDMode="Static" runat="server" HeaderText="Report List">
                                                        <HeaderTemplate>
                                                            <ul class="nav nav-tabs ajaxnavtabs">
                                                                <li><a style="padding: 10px 15px !important;">Report List </a></li>
                                                            </ul>
                                                        </HeaderTemplate>
                                                        <ContentTemplate>
                                                            <div class="contentHolder" style="height: 300px">
                                                                <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                                <div id="ReportListGridDiv" runat="server">
                                                                    <div class="himssuHeader1WireBox box-body box-solid gridviewfont">
                                                                        <div id="ReportListGridViewPagerDiv" runat="server" visible="False">
                                                                            <div class="leftdiv">
                                                                            </div>
                                                                            <div class="himsBoxTitle">
                                                                                <div class="gridHeaderText ">
                                                                                </div>
                                                                                <div class="">
                                                                                    <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">
                                                                            <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" PageSize="10" ShowHeader="true" meta:resourcekey="ReportListGridViewResource1"
                                                                                CssClass="table table-striped table-bordered">
                                                                                <Columns>
                                                                                    <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="19%"></asp:BoundField>
                                                                                    <asp:TemplateField ItemStyle-Width="67%" 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="3%" 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="8%"
                                                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                    <asp:TemplateField ShowHeader="true" HeaderText="Delete" ItemStyle-HorizontalAlign="Center"
                                                                                        ItemStyle-Width="3%">
                                                                                        <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 pTop5">
                                                <asp:Button ID="SearchButton" runat="server" Text="Search" OnClick="SearchButton_Click"
                                                    SkinID="0" CssClass="btn-primary-search" />
                                                <asp:Button ID="ClearButton" runat="server" Text="Reset" OnClick="ClearSearchControls_Click" />
                                                <asp:Button ID="GenerateReportButton" runat="server" Text="Generate Report" SkinID="CustomWidthButton"
                                                    Width="120px" OnClick="GenerateReportButton_Click" Enabled="false" />
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <br />
                                            <div id="EmployeeMasterGridDiv" runat="server">
                                                <div class="himssuHeader6WireBox box-body box-solid gridviewfont">
                                                    <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">
                                                        <asp:GridView runat="server" ID="EmployeeMasterGridView" Width="100%" 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">
                                                            <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>
                                    </asp:Panel>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </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>
