<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hrm_Appraisal_AppraisalTypeMaster, 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" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <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="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27 pagination display-flex">
                                        <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" Text="&#xf067; Add" SkinID="0" CssClass="btn btn-add fas" />
                                    </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">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="TitleSearchLabel" Text="Title" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="TitleSearchTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="Server" MaxLength="100"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="alignCenter col-md-12 pTop15 pb5">
                                            <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click" Text="&#xf002; Search" SkinID="0" CssClass="btn-search btn fas" />
                                            <asp:Button ID="ResetButton" runat="server" OnClick="ResetButton_Click" Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" />
                                        </div>
                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server" style="width: 100%; margin-right: 5px;">
                                        <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                            <div class="himsBoxContent">
                                                <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-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Financial Year" ItemStyle-Width="8%" SortExpression="BatchName" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="BatchNameLabel" runat="server" Text='<%# Bind("BatchName") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Appraisal Title" ItemStyle-Width="15%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="TitleLabel" runat="server" Text='<%# Bind("Title") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Valid From" ItemStyle-Width="7%" SortExpression="ValidFromDate" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ValidFromDateLabel" runat="server" Text='<%# Bind("ValidFromDate") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Valid To" ItemStyle-Width="7%" SortExpression="ValidToDate" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ValidToDateLabel" runat="server" Text='<%# Bind("ValidToDate") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="Description" ItemStyle-Width="58%" SortExpression="Remark" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="RemarkLabel" runat="server" Text='<%# Bind("Remark") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="In Active" ItemStyle-Width="5%" SortExpression="InActive" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="InActiveLabel" runat="server" Text='<%# Bind("InActive") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-cog"></i>
                                        <asp:Label ID="MasterHeaderLabel" runat="server" Text="Maintenance"></asp:Label>
                                    </header>
                                </div>
                            </div>
                 
                                    <div id="NumberOfRecordDiv" class="fRight mt-27 display-flex  pagination" runat="server" visible="true">
                                      
                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                        ID="FirstRecordImageButton" runat="server" OnClick="FirstRecordImageButton_Click">
                                                       <i class="fa fa-fast-backward"></i>
                                    </asp:LinkButton>
                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                        ID="PreviousImageButton" runat="server" OnClick="PreviousImageButton_Click">
                                                       <i class="fa fa-play fa-rotate-180"></i>
                                    </asp:LinkButton>
                                    &nbsp; &nbsp;
                                                    <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                    &nbsp;  
                                    <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                    &nbsp;   
                                    <asp:Label ID="ofLabel" Text="of" runat="server" />
                                    &nbsp;    
                                    <asp:Label ID="TotalRecord" runat="server" />
                                    &nbsp;
                                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                                        ID="NextImageButtom" runat="server" OnClick="NextImageButton_Click">
                                                       <i class="fa fa-play"></i>
                                                    </asp:LinkButton>
                                    <asp:LinkButton CssClass="btn btn-default gridviewpagerbuttonpadding" ToolTip="First page"
                                        ID="LastRecordImageButton" runat="server" OnClick="LastRecordImageButton_Click">
                                                       <i class="fa fa-fast-forward"></i>
                                    </asp:LinkButton>
                                    &nbsp;  &nbsp;  &nbsp;

                                
                                    <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" />
                                </div>

                 
                </div>
                <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CodeLabel" Text="Appraisal Title" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="AppraisalTitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" runat="Server" MaxLength="100"></asp:TextBox>
                                        <asp:HiddenField ID="IdHiddenField" runat="server" />
                                        <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="TitleLabel" runat="server" Text="Description" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="DescriptionTextBox" runat="server" SkinID="CustomWidthTextBox"
                                            TextMode="MultiLine" Rows="2" MaxLength="1000"></asp:TextBox>
                                    </div>
                                </div>


                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ApprovedDateLabel" runat="server" Text="Valid From" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <Date:DatePickerControl DisplayDatePicker="true" ID="ValidFromDatePickerControl" Text='<%# Bind("TransactionDate") %>' Visible="True" runat="Server"></Date:DatePickerControl>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label1" runat="server" Text="Valid To" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <Date:DatePickerControl DisplayDatePicker="true" ID="ValidToDatePickerControl" Text='<%# Bind("TransactionDate") %>' Visible="True" runat="Server"></Date:DatePickerControl>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:CheckBox ID="IsObsolateCheckBox"  runat="server" Visible="false" Text="InActive" />
                                        <asp:Label ID="IsObsolateLable" runat="server" Visible="false" AssociatedControlID="IsObsolateCheckBox"></asp:Label>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<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>



