Problem with aspx page

0

When I try to access the page below, I encounter the following error:

  

Using css-themed files requires a header control in the   page (for example,).

I have tried all the solutions I found on the internet, and the closest I got to being able to access the page content was using Theme="" . But that does not help me because all my css gets lost when I do this.

Can you help me?

<%@ Page Language="C#" EnableEventValidation="false" MasterPageFile="~/MasterPage.master"
    AutoEventWireup="true" CodeFile="RelatorioKPICrescimento.aspx.cs" Inherits="RelatorioKPICrescimento"
    Title="RelatorioKPICrescimento" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server" >
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="include">
        <fieldset>
            <legend style="color: Blue">KPI Crescimento</legend>
            <br />
            <asp:UpdatePanel ID="UpdatePanelGeneral" runat="server">
                <ContentTemplate>
                    <div style="padding-left: 50px">
                        <asp:Label ID="lblTypeMsg" runat="server">Escolha quais RA devem aparecer no relatório:</asp:Label>
                    </div>
                    <br />
                    <table>
                        <tr>
                            <td style="padding-left: 50px; width: 80px;">
                                <asp:Label ID="lblRegiao" runat="server" Text="Região:" Font-Bold="true" Width="70px"
                                    Height="19px"></asp:Label><br />
                                <asp:Label ID="lblDivisao" runat="server" Text="Divisão:" Font-Bold="true" Width="70px"
                                    Height="19px"></asp:Label><br />
                                <asp:Label ID="lblSetor" runat="server" Text="Setor:" Font-Bold="true" Width="70px"
                                    Height="19px"></asp:Label><br />
                                <asp:Label ID="lblEquipe" runat="server" Text="Equipe:" Font-Bold="true" Width="70px"
                                    Height="19px"></asp:Label><br />
                                <asp:Label ID="lblCategoria" runat="server" Text="Categoria:" Font-Bold="true" Width="70px"
                                    Height="19px"></asp:Label><br />
                            </td>
                            <td>
                                <asp:Panel ID="PanelOutros" runat="server">
                                    <asp:DropDownList ID="ddlRegiao" AutoPostBack="true" runat="server" />
                                    <br />
                                    <asp:DropDownList ID="ddlDivisao" AutoPostBack="true" runat="server" />
                                    <br />
                                    <asp:DropDownList ID="ddlSetor" AutoPostBack="true" runat="server" />
                                    <br />
                                    <asp:DropDownList ID="ddlEquipe" AutoPostBack="true" runat="server" />
                                    <br />
                                    <asp:DropDownList ID="ddlCategoria" AutoPostBack="true" runat="server" />
                                    <br />
                                </asp:Panel>
                            </td>
                        </tr>
                    </table>
                    <br />
                    <hr />
                    <br />
                    <div style="padding-left: 10px">
                        <asp:Label ID="lblPeriodoMsg" runat="server">Agora escolha o tipo de pesquisa,que pode ser:<br />
                            - Por periodo,<br />
                            - Por Campanha.<br />
                        </asp:Label>
                    </div>
                    <br />
                    <div style="padding-left: 30px; width: 511px">
                        <fieldset>
                            <div style="padding: 10px; width: 451px;">
                                <asp:RadioButton ID="rbtnPeriodo" runat="server" GroupName="tipoPesquisa" Checked="true"
                                    Text="Período" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <fieldset style="width: 349px">
                                    <legend style="color: Blue">Período</legend>
                                    <div>
                                        <asp:Label ID="lblPeriodoDe" runat="server" Text="Anterior">
                                        </asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:DropDownList ID="ddlDePeriodoYear" runat="server" Width="80px" />
                                        &nbsp;&nbsp;&nbsp;
                                        <asp:DropDownList ID="ddlDePeriodo" runat="server" Width="80px" />
                                    </div>
                                    <br />
                                    <div>
                                        <asp:Label ID="lblPeriodoAte" runat="server" Text="Posterior">
                                        </asp:Label>&nbsp;&nbsp;&nbsp;
                                        <asp:DropDownList ID="ddlAtePeriodoYear" runat="server" Width="80px" />
                                        &nbsp;&nbsp;&nbsp;
                                        <asp:DropDownList ID="ddlAtePeriodo" runat="server" Width="80px" />
                                    </div>
                                </fieldset>
                            </div>
                            <br />
                            <div style="padding: 10px; width: 497px;">
                                <asp:RadioButton ID="rbtnCampanha" runat="server" GroupName="tipoPesquisa" Text="Campanha" />&nbsp;&nbsp;&nbsp;
                                <fieldset style="width: 341px">
                                    <legend style="color: Blue">Campanha</legend>
                                    <div>
                                        <asp:Label ID="lblCampanhaDe" runat="server" Text="Anterior">
                                        </asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:DropDownList ID="ddlDeCampanhaYear" runat="server" Width="80px" />
                                        &nbsp;&nbsp;&nbsp;
                                        <asp:DropDownList ID="ddlDeCampanha" runat="server" Width="80px" />
                                    </div>
                                    <br />
                                    <div>
                                        <asp:Label ID="lblCampanhaAte" runat="server" Text="Posterior">
                                        </asp:Label>&nbsp;&nbsp;&nbsp;
                                        <asp:DropDownList ID="ddlAteCampanhaYear" runat="server" Width="80px" />
                                        &nbsp;&nbsp;&nbsp;
                                        <asp:DropDownList ID="ddlAteCampanha" runat="server" Width="80px" />
                                    </div>
                                </fieldset>
                            </div>
                        </fieldset>
                    </div>
                    <ajaxToolkit:CascadingDropDown ID="cddRegiao" runat="server" TargetControlID="ddlRegiao"
                        Category="Regiao" LoadingText="Aguarde ..." PromptText="Todos as regiões" ServicePath="LocalidadeService.asmx"
                        ServiceMethod="GetRegiao" ContextKey="GetFuncionario" BehaviorID="cddl">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddDivisao" runat="server" TargetControlID="ddlDivisao"
                        ParentControlID="ddlRegiao" Category="Divisao" PromptText="Todos as divisões"
                        LoadingText="Aguarde ..." ServicePath="LocalidadeService.asmx" ServiceMethod="GetDivisao"
                        ContextKey="GetFuncionario">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddSetor" runat="server" TargetControlID="ddlSetor"
                        ParentControlID="ddlDivisao" Category="Setor" PromptText="Todos os setores" LoadingText="Aguarde ..."
                        ServicePath="LocalidadeService.asmx" ServiceMethod="GetSetor" ContextKey="GetFuncionario">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddEquipe" runat="server" TargetControlID="ddlEquipe"
                        ParentControlID="ddlSetor" Category="Equipe" PromptText="Todos as equipes" LoadingText="Aguarde ..."
                        ServicePath="LocalidadeService.asmx" ServiceMethod="GetEquipe" ContextKey="GetFuncionario">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddCategoria" runat="server" TargetControlID="ddlCategoria"
                        Category="Categoria" LoadingText="Aguarde ..." PromptText="Todas as categorias"
                        ServicePath="LocalidadeService.asmx" ServiceMethod="GetCategoria">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddAnoInicial" runat="server" TargetControlID="ddlDePeriodoYear"
                        Category="Ano" LoadingText="Aguarde ..." ServicePath="LocalidadeService.asmx"
                        ServiceMethod="GetAno">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddPeriodoInicial" runat="server" TargetControlID="ddlDePeriodo"
                        ParentControlID="ddlDePeriodoYear" Category="PeriodoInicial" LoadingText="Aguarde ..."
                        ServicePath="LocalidadeService.asmx" ServiceMethod="GetPeriodo">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddAnoFinal" runat="server" TargetControlID="ddlAtePeriodoYear"
                        Category="Ano" LoadingText="Aguarde ..." ServicePath="LocalidadeService.asmx"
                        ServiceMethod="GetAno">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddPeriodoFinal" runat="server" TargetControlID="ddlAtePeriodo"
                        ParentControlID="ddlAtePeriodoYear" Category="PeriodoFinal" LoadingText="Aguarde ..."
                        ServicePath="LocalidadeService.asmx" ServiceMethod="GetPeriodo">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddDeCampanhaYear" runat="server" TargetControlID="ddlDeCampanhaYear"
                        Category="Ano" LoadingText="Aguarde ..." ServicePath="LocalidadeService.asmx"
                        ServiceMethod="GetAno">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddDeCampanha" runat="server" TargetControlID="ddlDeCampanha"
                        ParentControlID="ddlDeCampanhaYear" Category="Ano" LoadingText="Aguarde ..."
                        ServicePath="LocalidadeService.asmx" ServiceMethod="GetCampanha">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddAteCampanhaYear" runat="server" TargetControlID="ddlAteCampanhaYear"
                        Category="Ano" LoadingText="Aguarde ..." ServicePath="LocalidadeService.asmx"
                        ServiceMethod="GetAno">
                    </ajaxToolkit:CascadingDropDown>
                    <ajaxToolkit:CascadingDropDown ID="cddAteCampanha" runat="server" TargetControlID="ddlAteCampanha"
                        ParentControlID="ddlAteCampanhaYear" Category="Ano" LoadingText="Aguarde ..."
                        ServicePath="LocalidadeService.asmx" ServiceMethod="GetCampanha">
                    </ajaxToolkit:CascadingDropDown>
                    <br />
                    <div style="padding-left: 105px">
                        <asp:Button ID="btnProcessar" runat="server" Text="Processar" CssClass="button" OnClick="btnProcessar_Click" />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <div>
                <asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="UpdatePanelGeneral"
                    runat="server">
                    <ProgressTemplate>
                        <img alt="" src="imagens/ajax-loader3.gif" style="width: 31px; height: 31px" />
                        Aguarde... Processando relatório.
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
        </fieldset>
    </div>
</asp:Content>
    
asked by anonymous 10.09.2018 / 15:13

0 answers