<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Employee_report.aspx.cs" Inherits="HRMS.Employee_report" %>
<%@ 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">Employee Report
                     <div class="pull-right">
                       <asp:Button CssClass="btn btn-primary" ID="btn_run" runat="server" 
                             Text="Run Report" 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">Business Group</label>
                                <div class="col-md-3">
                                    <asp:DropDownList CssClass="form-control" ID="ddl_busines_g" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddl_busines_g_SelectedIndexChanged"></asp:DropDownList>
                                </div>

                                 <label id="Label3" class="control-label col-md-2" runat="server">Department</label>
                                <div class="col-md-3">
                                    <asp:DropDownList CssClass="form-control" ID="ddl_dept" runat="server" AutoPostBack="true"></asp:DropDownList>
                                </div>

                           </div>

                            <div class="row">
                             <label id="Label2" class="control-label col-md-2" runat="server">Job</label>
                                <div class="col-md-3">
                                    <asp:DropDownList CssClass="form-control" AutoPostBack= "true" ID="ddl_job" OnSelectedIndexChanged="ddl_job_SelectedIndexChanged" runat="server"></asp:DropDownList>
                                </div>

                                <label id="Label4" class="control-label col-md-2" runat="server">Position</label>
                                <div class="col-md-3">
                                    <asp:DropDownList CssClass="form-control" ID="ddl_position" runat="server"></asp:DropDownList>
                                </div>
                           </div>


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

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



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