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

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/IncomeTax/IncomeTaxLabelControl.ascx" TagName="ITaxControl" TagPrefix="ITax" %>
<%@ Register Src="~/UserControls/MessageBox/MessageBoxControl.ascx" TagName="MessageControl" TagPrefix="uc1" %>


<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage">

                <div 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="235"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButtonID" runat="server"
                                            OnClick="AddNewButton_Click" SkinID="0"
                                            CssClass="btn btn-add fas" Text="&#xf067; Add" Visible="false" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">

                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server" Visible="false">
                                        <div class="alignCenter col-md-12 pb5 pTop5">
                                            <asp:Button ID="SearchButton" Text="&#xf002;  Search" SkinID="0" CssClass="btn-search btn fas" runat="Server" OnClick="SearchButton_Click" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf12d; Clear" CssClass="btn btn-clear fas" SkinID="0" OnClick="ResetButton_Click" />
                                        </div>

                                    </asp:Panel>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="AppraisalsLabel" runat="server" Text="Appraisals"></asp:Label>
                                            <asp:HiddenField ID="HiddenFieldEmployeeID" runat="server" />
                                        </div>

                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList runat="server" ID="AppraisalsDropDownList" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" CssClass="form-control" AutoPostBack="true" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="AppraisalsDropDownList_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </div>
                                    </div>





                                    <div id="Div1" class="himssuHeader7WireBox col-md-12 pTop10" runat="server">
                                        <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                            <div class="himsBoxContent width-100">
                                                <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="true">
                                                </div>
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                            <asp:GridView ID="GridViewDetails" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                OnRowDataBound="GridViewDetails_RowDataBound" OnPageIndexChanging="GridViewDetails_PageIndexChanging"
                                                                SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                DataKeyNames="Id" EmptyDataText="No Records Found !!!"
                                                                CssClass="table table-striped table-bordered table-hover">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Sr No">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="TitleLabel" runat="server" Text='<%# Container.DataItemIndex + 1 %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Code" ItemStyle-Width="7%" SortExpression="Code" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="CodeLabel" runat="server" Text='<%# Bind("Code") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Employee" ItemStyle-Width="20%" SortExpression="Employee" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="EmployeeLabel" runat="server" Text='<%# Bind("Employee") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Designation" ItemStyle-Width="14%" SortExpression="DesignationName" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="DesignationNameLabel" runat="server" Text='<%# Bind("DesignationName") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Department" ItemStyle-Width="14%" SortExpression="DepartmentName" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="DepartmentNameLabel" runat="server" Text='<%# Bind("DepartmentName") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="KPA Status" ItemStyle-Width="13%" SortExpression="KPAStatus" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true" ItemStyle-VerticalAlign="Middle">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="KPAStatusLabel" runat="server" Text='<%# Bind("KPAStatus") %>' Style="color: #678197; margin: 0; font-size: 12PX; font-weight: 600;"></asp:Label>
                                                                            <asp:HiddenField ID="HiddenFieldKPAStatusId" runat="server" Value='<%# Bind("KPAStatusId") %>' />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Rating Status" ItemStyle-Width="15%" SortExpression="RattingStatus" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true" ItemStyle-VerticalAlign="Middle">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="RattingStatusLabel" runat="server" Text='<%# Bind("RattingStatus") %>' Style="color: #678197; margin: 0; font-size: 12PX; font-weight: 600;"></asp:Label>
                                                                            <asp:HiddenField ID="HiddenFieldRatingStatusId" runat="server" Value='<%# Bind("RatingStatusId") %>' />
                                                                            <asp:HiddenField ID="HiddenFieldKPAEmployeeId" runat="server" Value='<%# Bind("KPAEmployeeId") %>' />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Rate Now" ItemStyle-Width="9%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Button ID="ButtonRateNow" Text="Rate Now" Visible="false" runat="Server" OnClick="ButtonRateNow_Click" SkinID="0" CssClass="btn btn-edit fas small" />
                                                                            <asp:Label ID="LabelRateNow" runat="server" Visible="false" Text="N/A"></asp:Label>
                                                                            <asp:HiddenField ID="HiddenFieldKPASaveStatus" runat="server" Value='<%# Bind("Enable") %>' />
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>


                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>


                                    <div class="cBoth pTop15"></div>
                                    <asp:Label Font-Underline="true" Style="padding-left: 15px" ID="Label13" Text="KPA Status :" runat="server"></asp:Label>
                                    <div class="cBoth"></div>
                                    <asp:Label Font-Bold="true" Style="padding-left: 15px" ID="Label2" Text="KPA Not Set :" runat="server"></asp:Label>
                                    <asp:Label runat="server" ID="Label5" Height="10px" Width="26px" BorderColor="Black" BackColor="#f4799e" BorderWidth="1px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:Label Font-Bold="true" ID="Label7" Text="KPA Not Accepted Yet :" runat="server"></asp:Label>
                                    <asp:Label runat="server" ID="Label8" Height="10px" Width="26px" BorderColor="Black" BackColor="#c3c2be" BorderWidth="1px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:Label Font-Bold="true" ID="Label9" Text="KPA Set & Accepted :" runat="server"></asp:Label>
                                    <asp:Label runat="server" ID="Label10" Height="10px" Width="26px" BorderColor="Black" BackColor="#CCFFD0" BorderWidth="1px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:Label Font-Bold="true" ID="Label11" Text="KPA Change Requested :" runat="server"></asp:Label>
                                    <asp:Label runat="server" ID="Label12" Height="10px" Width="26px" BorderColor="Black" BackColor="#f4c8c8" BorderWidth="1px"></asp:Label>
                                    <div class="cBoth"></div>

                                    <div class="cBoth pTop5"></div>
                                    <asp:Label Font-Underline="true" Style="padding-left: 15px" ID="Label14" Text="Rating Status :" runat="server"></asp:Label>
                                    <div class="cBoth"></div>
                                    <asp:Label Font-Bold="true" Style="padding-left: 15px" ID="Label15" Text="Not Rolled out Yet :" runat="server"></asp:Label>
                                    <asp:Label runat="server" ID="Label16" Height="10px" Width="26px" BorderColor="Black" BackColor="#f4799e" BorderWidth="1px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:Label Font-Bold="true" ID="Label17" Text="Rolled out :" runat="server"></asp:Label>
                                    <asp:Label runat="server" ID="Label18" Height="10px" Width="26px" BorderColor="Black" BackColor="#cababa" BorderWidth="1px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:Label Font-Bold="true" ID="Label19" Text="Employee Rated :" runat="server"></asp:Label>
                                    <asp:Label runat="server" ID="Label20" Height="10px" Width="26px" BorderColor="Black" BackColor="#e66f6f" BorderWidth="1px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:Label Font-Bold="true" ID="Label21" Text="Manager Rated :" runat="server"></asp:Label>
                                    <asp:Label runat="server" ID="Label22" Height="10px" Width="26px" BorderColor="Black" BackColor="#de9696" BorderWidth="1px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:Label Font-Bold="true" ID="Label23" Text="Organization Head Rated :" runat="server"></asp:Label>
                                    <asp:Label runat="server" ID="Label24" Height="10px" Width="26px" BorderColor="Black" BackColor="#e6b9b9" BorderWidth="1px"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                                <asp:Label Font-Bold="true" ID="Label25" Text="Completed :" runat="server"></asp:Label>
                                    <asp:Label runat="server" ID="Label26" Height="10px" Width="26px" BorderColor="Black" BackColor="#CCFFD0" BorderWidth="1px"></asp:Label>
                                    <div class="cBoth"></div>

                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
                </tr>
                    </table>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <cc1:ModalPopupExtender ID="EmployeeSearchExtender" runat="server" TargetControlID="HidenButton" PopupControlID="ModalPopUpPanel" BackgroundCssClass="modalBackground"
        Drag="True" PopupDragHandleControlID="dragPanel" DynamicServicePath="" Enabled="True" />
    <asp:LinkButton runat="server" ID="HidenButton" meta:resourcekey="HidenButtonResource1" />


    <asp:Panel ID="ModalPopUpPanel" runat="server" CssClass="dragControl" Width="80%"  DefaultButton="SearchButton" meta:resourcekey="ModalPopUpPanelResource1">
        <div class="card card-box">
            <asp:Panel ID="dragPanel" runat="server" CssClass="dragMePanel" Width="100%" meta:resourcekey="dragPanelResource1">
                <div id="dragMe1" class="dragMe" style="cursor: move">
                    <div class="himsPopupWireBox">
                        <div class="himsBoxHeadermain">
                            <div>
                            </div>
                        </div>
                        <div class="himsBoxTopper text-center headerFont card-head">
                            <div class="fLeft headerText">
                                <asp:UpdatePanel ID="UpdatePanel3" runat="server" RenderMode="Inline">
                                    <ContentTemplate>
                                        <asp:ImageButton ID="CloseImageButton" runat="server" Height="20PX" Width="20PX" ImageUrl="~/Images/closebox.png" Style="margin-left: 995PX" OnClick="CloseImageButton_Click" />
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>

            <asp:UpdatePanel ID="EmployeeSearchUpdatePanel" runat="server"
                RenderMode="Inline">
                <ContentTemplate>

                    <div id="bodyContainer">
                        <div class="himsPopupWireBox">
                            <div class="himsBoxHeadermain">
                                <div>
                                </div>
                            </div>
                            <uc1:MessageControl ID="SearchMessageBox" runat="server" />
                            <div class="himsBoxContentmain" style="overflow: hidden">
                                <div id="divContentPage1">
                                    <div class="spacer">
                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif"
                                            meta:resourcekey="Image1Resource1" />
                                    </div>
                                    <div>
                                        <div class="himssuHeader5WireBox">
                                            <div class="himsBoxHeader">
                                                <asp:Panel ID="TopPanel" runat="server" meta:resourcekey="TopPanelResource1">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle">
                                                        <div class="headerText">
                                                            <asp:Label ID="EmployeeSearchHeaderLabel" runat="server" Text="Search"
                                                                meta:resourcekey="EmployeeSearchHeaderLabelResource1" Visible="false"></asp:Label>
                                                        </div>
                                                        <div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                            <div class="himsBoxContent  card-body" style="max-height: 510px">
                                                <asp:Panel ID="Panel2" runat="server" meta:resourcekey="DetailPanelResource1">
                                                    <div class="contentHolder">
                                                        <asp:Panel ID="Panel3" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                            <div class="pTop5 col-md-6 col-sm-6 col-xs-12">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="EmployeeCodeLabel" runat="server" Text="Employee"
                                                                        meta:resourcekey="EmployeeCodeLabelResource1"></asp:Label>
                                                                </div>
                                                            </div>
                                                            <div class="pTop5 col-md-6 col-sm-6 col-xs-12">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="LabelEmployeeName" runat="server"
                                                                        meta:resourcekey="EmployeeCodeLabelResource1"></asp:Label>
                                                                </div>
                                                            </div>
                                                            <div class="pTop5 col-md-6 col-sm-6 col-xs-12">

                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="MobileNumberLabel" runat="server" Text="Rating Period"
                                                                        meta:resourcekey="MobileNumberLabelResource1"></asp:Label>
                                                                </div>
                                                            </div>
                                                            <div class="pTop5 col-md-6 col-sm-6 col-xs-12">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="LabelRatingPeriod" runat="server" meta:resourcekey="MobileNumberLabelResource1"></asp:Label>
                                                                </div>
                                                            </div>


                                                        </asp:Panel>

                                                        <div id="MainDiv" runat="server">
                                                            <div id="EmployeeSearchGridDiv" runat="server">

                                                                <div class="himssuHeader7WireBox col-md-12" id="Div4" runat="server">
                                                                    <div class="himsBoxHeader" id="GridHeaderDiv" runat="server" visible="False">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                    </div>
                                                                    <div class="himsBoxContent width-100">
                                                                        <div class="himsBoxContent">
                                                                            <div class="contentHolder">
                                                                                <div class="himssuHeader7WireBox" runat="server">
                                                                                    <div class="himsBoxHeader card-head inner">
                                                                                        <div class="headerText">

                                                                                            <header>
                                                                                                <asp:Label ID="KPALabel2" runat="server" Text="KPA"
                                                                                                    meta:resourcekey="EmployeeCodeLabelResource1"></asp:Label>
                                                                                            </header>
                                                                                        </div>

                                                                                    </div>

                                                                                    <div class="himsBoxContent">
                                                                                        <div id="Div3" class="himsBoxContentMsg table-responsive" runat="server">
                                                                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
                                                                                                <ContentTemplate>
                                                                                                    <asp:GridView ID="GridViewKPA" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                                        SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                                                        CssClass="table table-striped table-bordered table-hover" OnRowDataBound="GridViewKPA_RowDataBound1">
                                                                                                        <Columns>
                                                                                                            <asp:TemplateField HeaderText="Parameter" ItemStyle-Width="12%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="NameLabel" runat="server" Text='<%# Bind("Name") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Type" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="TypeNameLabel" runat="server" Text='<%# Bind("TypeName") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Reasoning" ItemStyle-Width="23%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="RemarksLabel" runat="server" Text='<%# Bind("Remarks") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Weightage" ItemStyle-Width="6%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="WeightageLabel" runat="server" Text='<%# Bind("Weightage") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Emp Rating" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="EmpRatingLabel" runat="server" Text='<%# Bind("MyRating") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Emp Remark" ItemStyle-Width="18%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="EmpRemarkLabel" runat="server" Text='<%# Bind("MyRemark") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Your Rating" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="MyRatingLabel" runat="server" Text='<%# Bind("ManagerRating") %>' Visible="false"></asp:Label>
                                                                                                                    <asp:DropDownList ID="RatingDropDownList" Height="30px" Width="80%" runat="server" Visible="false"></asp:DropDownList>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Your Remark" ItemStyle-Width="18%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="YourRemarkLabel" runat="server" Text='<%# Bind("ManagerRemark") %>' Visible="false"></asp:Label>
                                                                                                                    <asp:TextBox ID="YourRemarkTextBox" Height="20px" runat="server" SkinID="CustomWidthTextBox" Width="95%" Visible="false" MaxLength="500"></asp:TextBox> <%--Mantis - 41510(Increase limit set 500)--%>
                                                                                                                    <asp:HiddenField ID="HiddenFieldRatingStatusId" runat="server" Value='<%# Bind("RatingStatusId") %>' />
                                                                                                                    <asp:HiddenField ID="HiddenFieldKPAEmployeeDetailId" runat="server" Value='<%# Bind("KPAEmployeeDetailId") %>' />
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                        </Columns>
                                                                                                    </asp:GridView>
                                                                                                </ContentTemplate>
                                                                                            </asp:UpdatePanel>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="himsBoxContent width-100">
                                                                            <div class="contentHolder">
                                                                                <div class="himssuHeader7WireBox" runat="server">
                                                                                    <div class="himsBoxHeader card-head inner">
                                                                                        <div class="headerText">
                                                                                            <header>
                                                                                                <asp:Label ID="CompetenciesLabel2" runat="server" Text="Competencies"
                                                                                                    meta:resourcekey="EmployeeCodeLabelResource1"></asp:Label>
                                                                                            </header>
                                                                                        </div>
                                                                                    </div>
                                                                                    <div class="himsBoxContent">
                                                                                        <div id="Div2" class="himsBoxContentMsg table-responsive" runat="server">
                                                                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always">
                                                                                                <ContentTemplate>
                                                                                                    <asp:GridView ID="GridViewCompetencies" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                                        SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                                                        CssClass="table table-striped table-bordered table-hover" OnRowDataBound="GridViewCompetencies_RowDataBound">
                                                                                                        <Columns>
                                                                                                            <asp:TemplateField HeaderText="Parameter" ItemStyle-Width="12%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="NameLabel" runat="server" Text='<%# Bind("Name") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Type" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="TypeNameLabel" runat="server" Text='<%# Bind("TypeName") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Reasoning" ItemStyle-Width="23%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="RemarksLabel" runat="server" Text='<%# Bind("Remarks") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Weightage" ItemStyle-Width="6%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="WeightageLabel" runat="server" Text='<%# Bind("Weightage") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Emp Rating" ItemStyle-Width="7%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="EmpRatingLabel" runat="server" Text='<%# Bind("MyRating") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Emp Remark" ItemStyle-Width="18%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="EmpRemarkLabel" runat="server" Text='<%# Bind("MyRemark") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Your Rating" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="MyRatingLabel" runat="server" Text='<%# Bind("ManagerRating") %>' Visible="false"></asp:Label>
                                                                                                                    <asp:DropDownList ID="RatingDropDownList" Width="80%" Height="30px" runat="server" Visible="false"></asp:DropDownList>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderText="Your Remark" ItemStyle-Width="18%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left"
                                                                                                                ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="YourRemarkLabel" runat="server" Text='<%# Bind("ManagerRemark") %>' Visible="false"></asp:Label>
                                                                                                                    <asp:TextBox ID="YourRemarkTextBox" runat="server" Height="20px" SkinID="CustomWidthTextBox" Width="95%" Visible="false" MaxLength="500"></asp:TextBox> <%--Mantis - 41510(Increase limit set 500)--%>
                                                                                                                    <asp:HiddenField ID="HiddenFieldRatingStatusId" runat="server" Value='<%# Bind("RatingStatusId") %>' />
                                                                                                                    <asp:HiddenField ID="HiddenFieldKPAEmployeeDetailId" runat="server" Value='<%# Bind("KPAEmployeeDetailId") %>' />
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                        </Columns>
                                                                                                    </asp:GridView>
                                                                                                </ContentTemplate>
                                                                                            </asp:UpdatePanel>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                          <div class="outerBox11 col-md-14">
                                                                            <asp:Label ID="RemarkLabel" runat="server" Text="Employee Remark :" SkinID="CustomWidthLabel" Font-Bold="true"></asp:Label></td>                                    
                                                                          <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="MultiLineTextbox" TextMode="MultiLine" MaxLength="500" ReadOnly="true"></asp:TextBox>
                                                                        </div>
                                                                        <div class="himsBoxContent width-100">
                                                                            <table  width: 100%;">
                                                                                <tr>
                                                                                    <td style="text-align: center; width: 35%; color: rgb(102, 163, 211); font-size: 13px; font-weight: bold; background: rgb(244, 249, 254); border-width: 1px; border-style: solid; border-color: rgb(229, 239, 248); border-image: initial; padding: 3px;">
                                                                                        <asp:Label ID="Label1" runat="server" Text="Do you recommend an increment for this user?"
                                                                                            meta:resourcekey="EmployeeCodeLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                    <td style="padding-left: 25px; color: rgb(103, 129, 151); border-width: 1px; border-style: solid; border-color: rgb(229, 239, 248); border-image: initial; background: rgb(255, 255, 255); margin: 0px; padding: 3px;">
                                                                                        <asp:DropDownList runat="server" ID="DropDownListIncrement" SkinID="CustomWidthDropDownList"
                                                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                                        </asp:DropDownList>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td style="text-align: center; color: rgb(102, 163, 211); font-size: 13px; font-weight: bold; background: rgb(244, 249, 254); border-width: 1px; border-style: solid; border-color: rgb(229, 239, 248); border-image: initial; padding: 3px;">
                                                                                        <asp:Label ID="Label4" runat="server" Text="Do you recommend a designation change for this user?"
                                                                                            meta:resourcekey="MobileNumberLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                    <td style="padding-left: 25px; color: rgb(103, 129, 151); border-width: 1px; border-style: solid; border-color: rgb(229, 239, 248); border-image: initial; background: rgb(255, 255, 255); margin: 0px; padding: 3px;">
                                                                                        <asp:TextBox ID="TextBoxDesignation" runat="server" Width="150px" SkinID="CustomWidthTextBox"
                                                                                            MaxLength="100"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>
                                                                                    <td style="text-align: center; color: rgb(102, 163, 211); font-size: 13px; font-weight: bold; background: rgb(244, 249, 254); border-width: 1px; border-style: solid; border-color: rgb(229, 239, 248); border-image: initial; padding: 3px;">
                                                                                        <asp:Label ID="Label6" runat="server" Text="Please justify your recommendation briefly"
                                                                                            meta:resourcekey="MobileNumberLabelResource1"></asp:Label>
                                                                                    </td>
                                                                                    <td style="padding-left: 25px; color: rgb(103, 129, 151); border-width: 1px; border-style: solid; border-color: rgb(229, 239, 248); border-image: initial; background: rgb(255, 255, 255); margin: 0px; padding: 3px;">
                                                                                        <asp:TextBox ID="TextBoxJustify" onmouseleave="showHideTooltip()" SkinID="MultiLineTextbox" Width="550px" runat="server" MaxLength="300"></asp:TextBox>
                                                                                    </td>
                                                                                </tr>
                                                                            </table>
                                                                        </div>
                                                                      
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>

                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tableContainer alignCenter col-md-12 p-b-13">

                                    <asp:Button runat="server" ID="OkButton" Text="&#xf164; Save" OnClick="OkButton_Click" SkinID="0" CssClass="fas btn btn-ok " meta:resourcekey="OkButtonResource1" />

                                    <asp:Button ID="CancelButton" runat="server" CssClass="btn-cancel btn fas" meta:resourcekey="CancelButtonResource1"
                                        OnClick="CancelButton_Click" SkinID="0" Text="&#xf00d; Cancel" />
                                    <asp:Button ID="PrintButton" runat="server" CssClass="btn btn-print fas" Text="&#xf02f; Print" SkinID="0" OnClick="PrintButton_Click"/>
                                </div>
                            </div>
                        </div>

                        <%--<asp:UpdateProgress ID="MainUpdateProgress" runat="server" DisplayAfter="200">
                        <ProgressTemplate>
                            <div style="position: absolute; top: 50%; left: 45%; font-size: 20px">
                                <asp:Image ID="LoadingImage4" runat="server" ImageUrl="~/Images/Loading.gif"
                                    meta:resourcekey="Image3Resource1" />
                            </div>
                        </ProgressTemplate>
                    </asp:UpdateProgress>--%>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </asp:Panel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/payrollyear-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/payrollyear-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>

