<%@ Page Language="C#" MasterPageFile="~/MasterPages/DefaultLogedContentMasterPage.master" Title="RH WEB | Gerar Informes de Rendimentos" Inherits="PrincipalRendimentos" Codebehind="PrincipalRendimentos.aspx.cs" %>
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"  Namespace="DevExpress.Web.ASPxLoadingPanel" TagPrefix="dx" %>
<asp:Content ID="ConteudoCorpo1" ContentPlaceHolderID="ConteudoCorpo" runat="server">
    <h3>Informes de Rendimentos</h3>
    <table border="0" cellpadding="0" cellspacing="0" style="width: 400px">
        <tr>
            <td colspan="2" style="height: 15px;width:400px;">
                <h6>Para gerar o seu informe de rendimento, selecione o ano base:</h6>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="height: 15px;width:400px;">&nbsp;</td>
        </tr>
        <tr>
            <td colspan="2" style="height: 22px;width:400px;">Ano Base</td>
        </tr>
        <tr>
            <td style="height: 22px;width:95px;">
                <asp:DropDownList ID="ddlReferencias" CssClass="Combo" runat="server" Width="86px"></asp:DropDownList>
            </td>
            <td style="height: 22px;width:305px;">
                <asp:imagebutton ID="btnGerar" runat="server" skinid="gerar" CssClass="button" OnClick="btnGerar_Click" OnClientClick="LoadingPanel.Show()"/>
            </td>
        </tr>
    </table>
    <br />
    <dx:ASPxLoadingPanel ID="LoadingPanel" ContainerElementID="ConteudoCorpo1" runat="server" ClientInstanceName="LoadingPanel" Modal="True" Text=" Gerando Informe de Rendimento..." />
    <div id="dvMensagem" runat="server" style="color: #ff0000; font-weight: bold;">
    <asp:Label ID="lblMsgSucesso" runat="server" ForeColor="Blue" SkinID="ErroLabel" Text="Label"></asp:Label><br />
    <asp:Label ID="lblMsgErro" runat="server" SkinID="ErroLabel" Text="Label"></asp:Label>&nbsp;</div>
</asp:Content>