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

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:Panel ID="main_pnl" runat="server">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                   <header class="panel-heading" style="padding-bottom:30px">
                           <span class="label label-primary">Employee Income Tax Report</span>
                     <div class="pull-right">
                                 <asp:Button CssClass="btn btn-info" ID="btn_run" Text="Run Report" ValidationGroup="save" runat="server" 
                                        onclick="btn_run_Click"/>
                    </div>
                    </header>
                    <div class="panel-body">
                        <div class="span6">
                                <div id="divMessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <i class="icon-check-sign"></i>
                                    <asp:Label ID="lblMessage" class="msg" runat="server" Text="" ></asp:Label>
                                </div>
                                <div class="span6">
                                    <div id="diverrorMessage" runat="server" visible="false" class="alert alert-danger alert-dismissable">
                                         <i class="icon-check-sign"></i>
                                        <asp:Label ID="lblerrorMessage" class="msg" runat="server" Text="" ></asp:Label>
                                    </div>
                                </div>
                           </div>







                          

                           <div class="row">
                            <label id="Label1" class="control-label col-md-2" runat="server">Date From</label>
                            <div class="col-md-2">
                                <asp:TextBox ID="txt_frm" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ErrorMessage="Date is required" ControlToValidate="txt_frm" SetFocusOnError="true" ValidationGroup="save" runat="server" />
                            </div>

                            <label id="Label2" class="control-label col-md-2" runat="server">Date To</label>
                            <div class="col-md-2">
                                <asp:TextBox ID="txt_dateto" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ErrorMessage="Date is required" ControlToValidate="txt_dateto" SetFocusOnError="true" ValidationGroup="save" runat="server" />
                            </div>

                           </div>
                           <hr />


                                                      <asp:GridView ID="grd" runat="server" AutoGenerateColumns="False" 
                      cellpadding="0" border="0" class="display">
            <Columns>
                <asp:BoundField HeaderText="Id" DataField="EMPLOYEE_ID"/>
                <asp:BoundField HeaderText="Employee No." DataField="EMPLOYEE" />
                <asp:TemplateField ItemStyle-Width="6%" HeaderText="Action">
                    <ItemTemplate>
                        <asp:CheckBox ID="chk" runat="server" />
                     </ItemTemplate>
                </asp:TemplateField>
                
            </Columns>
            <%-- Mandatory--%>
            <RowStyle CssClass="rowStyle"/>
           <%-- Mandatory--%>
            <HeaderStyle CssClass="headerStyle" />
           <%-- optional--%>
           <FooterStyle  CssClass="footerStyle"  />
        </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">
                //without passing class names.
                $("#ContentPlaceHolder1_grd").GridviewFix().dataTable();
                //Passing class names
            </script>


                            <div class="row">
                              <div class="col-md-11">

                             
                                 <br />
                                   <hr />
                                 <div class="row">
                                 <rsweb:ReportViewer ID="rpt_tax"  runat="server" BackColor="#E2E2E2" ShowPrintButton="False" Width="100%"></rsweb:ReportViewer>
                                 </div>
                              </div>
                           </div>



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