<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="Per_previous_employer_Index.aspx.cs" Inherits="HRMS.GL.Accounting_Calender.Per_previous_employer_Index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="row">
        <div class="col-lg-12">
            <!--breadcrumbs start -->
            <ul class="breadcrumb">
                <li><a href="#" id="home" runat="server"><i class="fa fa-home"></i>Home</a></li>
                <li><a href="#" id="ppl_index" runat="server">Employee List</a></li>
            </ul>
            <!--breadcrumbs end -->
        </div>
    </div>
    <div class="main-panel">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                    <header class="panel-heading">
                        List Of Previous Employers
                            <div class="pull-right">
                                <asp:Button ID="btn_addnew" CssClass="btn btn-info" Text="New Record" 
                                    runat="server" onclick="btn_addnew_Click" />
                                    <a href="#" id="aback_to_person" runat="server" class="btn btn-info">Back to Person</a>
                            </div>
                    </header>
                        <div class="panel-body">
                            <div class="span6">
                            <div id="divmessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                <asp:Label ID="lbl_msg" runat="server" CssClass="msg" Text=""> </asp:Label>
                            </div>
                        </div>

                    <div class="span6">
                        <div id="diverrmessage" runat="server" visible="false" class="alert alert-danger alert-dismissable">
                            <asp:Label ID="lbl_err_msg" runat="server" CssClass="msg" Text=""> </asp:Label>
                        </div>
                    </div>
                    
                     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    CssClass="display" CellPadding="0" border="0" onrowcommand="GridView1_RowCommand">
                    <Columns>
                                <asp:BoundField DataField="PREVIOUS_EMPLOYER_ID" HeaderText="ID" />
                                <asp:BoundField DataField="EMPLOYER_NAME" HeaderText="Employer Name" />
                                <asp:BoundField DataField="EMPLOYER_COUNTRY" HeaderText="Country" />
                                <asp:BoundField DataField="EMPLOYER_ADDRESS" HeaderText="Address" />
                                <%--<asp:BoundField DataField="EMPLOYER_TYPE" HeaderText="Type" />--%>
                                <asp:BoundField DataField="START_DATE" HeaderText="Start Date" />
                                <asp:BoundField DataField="END_DATE" HeaderText="End Date" />
                               <%-- <asp:BoundField DataField="EMPLOYER_NAME" HeaderText="Employer Name" />
                                <asp:BoundField DataField="EMPLOYER_NAME" HeaderText="Employer Name" />
                                <asp:BoundField DataField="EMPLOYER_NAME" HeaderText="Employer Name" />--%>
                                    <asp:TemplateField HeaderText="Action" ItemStyle-Width="6%">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="linkedit" CommandName="gEdit" CausesValidation="false" runat="server"><i class="fa fa-pencil" style="font-size:20px !important"></i></asp:LinkButton>
                                            <asp:LinkButton ID="linkdelete" CommandName="gDelete" CausesValidation="false" runat="server"><i class="fa fa-trash" style="font-size:20px !important"></i></asp:LinkButton>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                    </Columns>
                            <FooterStyle CssClass="footerStyle" />
                            <HeaderStyle CssClass="headerStyle" />
                            <RowStyle CssClass="rowStyle" />
                </asp:GridView>
                    <script src="/ThemeScrips/Datatables/media/js/jquery.js" type="text/javascript"></script>
                    <script src="/ThemeScrips/Datatables/media/js/jquery.datatables.min.js" type="text/javascript"></script>
                    <script src="/ThemeScrips/Datatables/media/js/jquery.Datatables.js" type="text/javascript"></script>
                    <script src="/ThemeScrips/Datatables/media/js/GridviewFix.js" type="text/javascript"></script>
                    <script type="text/javascript">
                        $("#ContentPlaceHolder1_GridView1").GridviewFix().dataTable();
                    </script>                 
                        
                        </div>

                       
                </section>
            </div>
        </div>
    </div>
</asp:Content>
