<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="WebSite.Default" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager runat="server" ID="ScriptManagerMaster1" EnableScriptGlobalization="true"
        AsyncPostBackTimeout="900" EnableScriptLocalization="true" EnablePageMethods="true">
    </asp:ScriptManager>
    <asp:UpdatePanel runat="server" ID="upnCadastro" ClientIDMode="Static">
        <ContentTemplate>
            <div id="home" class="meio">
                <div class="container">
                    <div class="limite">
                        <div class="esquerda">
                            <div class="box">
                                <h2 class="titulo">Despesas</h2>
                                <ul class="form">
                                    <li><span class="titulo">Exercício:</span>
                                        <dx:ASPxComboBox ID="ddlExercicio" ClientInstanceName="ddlExercicio" runat="server"
                                            Width="50%" IncrementalFilteringMode="Contains" SkinID="cmbValidator" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlExercicio_OnSelectedIndexChanged">
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li><span class="titulo">Mês:</span>
                                        <dx:ASPxComboBox ID="ddlMes" ClientInstanceName="ddlMes" runat="server" Width="50%"
                                            IncrementalFilteringMode="Contains" SkinID="cmbValidator" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlMes_OnSelectedIndexChanged">
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li><span class="titulo">Dia:</span>
                                        <dx:ASPxComboBox ID="ddlDia" ClientInstanceName="ddlDia" runat="server" Width="50%"
                                            IncrementalFilteringMode="Contains" SkinID="cmbValidator" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlDia_OnSelectedIndexChanged">
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li><span class="titulo">Tipo de Despesa:</span>
                                        <dx:ASPxComboBox ID="ddlTipoDespesa" ClientInstanceName="ddlTipoDespesa" ValueType="System.String"
                                            IncrementalFilteringMode="Contains" SkinID="cmbValidator" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlTipoDespesa_OnSelectedIndexChanged" runat="server" Width="50%">
                                            <Items>
                                                <dx:ListEditItem Text="Empenhado" Value="0" />
                                                <dx:ListEditItem Text="Liquídado" Value="1" />
                                                <dx:ListEditItem Text="Pago" Value="2" />
                                            </Items>
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li class="botoes">
                                        <asp:Button runat="server" ID="btnEnviar" CssClass="btazul" Text="Pesquisar" Style="margin-right: -410px" CausesValidation="true"
                                            ValidationGroup="vgCadastro" OnClick="btnEnviar_Onclick" />
                                    </li>
                                </ul>
                                <h2 class="titulo">Receitas</h2>
                                <ul class="form">
                                    <li><span class="titulo">Exercício:</span>
                                        <dx:ASPxComboBox ID="ddlExercicioReceita" ClientInstanceName="ddlExercicioReceita"
                                            runat="server" Width="50%" IncrementalFilteringMode="Contains" SkinID="cmbValidator"
                                            AutoPostBack="true" OnSelectedIndexChanged="ddlExercicioReceita_OnSelectedIndexChanged">
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li><span class="titulo">Mês:</span>
                                        <dx:ASPxComboBox ID="ddlMesReceita" ClientInstanceName="ddlMesReceita" runat="server"
                                            Width="50%" IncrementalFilteringMode="Contains" SkinID="cmbValidator" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlMesReceita_OnSelectedIndexChanged">
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li><span class="titulo">Dia:</span>
                                        <dx:ASPxComboBox ID="ddlDiaReceita" ClientInstanceName="ddlDiaReceita" runat="server"
                                            Width="50%" IncrementalFilteringMode="Contains" SkinID="cmbValidator" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlDiaReceita_OnSelectedIndexChanged">
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li>
                                        <asp:Button runat="server" ID="btnEnviarR" CssClass="btazul" Text="Pesquisar" Style="margin-right: 50px"
                                            OnClick="btnEnviarR_Onclick" />
                                    </li>
                                </ul>
                            </div>
                            <div class="box" id="Outro" runat="server">
                                <h2 class="titulo">Outras Informações</h2>
                                <ul class="form">
                                    <li><span class="titulo">Tipo de Documento:</span>
                                        <dx:ASPxComboBox ID="ddlTipoDocumento" ClientInstanceName="ddlTipoDocumento" ValueField="id_DocumentoTipo"
                                            runat="server" Width="50%" SkinID="cmbValidator" AutoPostBack="true" OnSelectedIndexChanged="ddlTipoDocumento_OnSelectedIndexChanged">
                                            <Columns>
                                                <dx:ListBoxColumn Caption="Documento" FieldName="ds_DocumentoTipo" Width="100%" />
                                            </Columns>
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li><span class="titulo">Exercício:</span>
                                        <dx:ASPxComboBox ID="ddlExercicioTipo" ClientInstanceName="ddlExercicioTipo" runat="server"
                                            Width="50%" IncrementalFilteringMode="Contains" SkinID="cmbValidator" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlExercicioTipo_OnSelectedIndexChanged">
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li><span class="titulo">Mês:</span>
                                        <dx:ASPxComboBox ID="ddlMesTipo" ClientInstanceName="ddlMesTipo" runat="server" Width="50%"
                                            IncrementalFilteringMode="Contains" SkinID="cmbValidator" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlMesTipo_OnSelectedIndexChanged">
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li><span class="titulo">Dia:</span>
                                        <dx:ASPxComboBox ID="ddlDiaTipo" ClientInstanceName="ddlDiaTipo" runat="server" Width="50%"
                                            IncrementalFilteringMode="Contains" SkinID="cmbValidator" AutoPostBack="true"
                                            OnSelectedIndexChanged="ddlDiaTipo_OnSelectedIndexChanged">
                                        </dx:ASPxComboBox>
                                    </li>
                                    <li>
                                        <asp:Button runat="server" ID="Button1" CssClass="btazul" Text="Pesquisar" Style="margin-right: -410px"
                                            OnClick="btnEnviarO_Onclick" />
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
