首页 > 解决方案 > 不能以声明方式设置“HasViewList”属性

问题描述

我正在尝试通过 Visual Studio 2017 运行我的水晶报告。

机器中安装了以下工具。

  1. Visual Studio 2017 SAP 水晶报表开发者版
  2. Microsoft Report Viewer 2010 重新分发。

当我运行项目并尝试查看报告时,出现以下错误。

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: The 'HasViewList' property cannot be set declaratively.

    Source Error: 


    Line 30:         <br />
    Line 31:     </div>
    Line 32:     <CR:CrystalReportViewer ID="EspaceReportViewer" runat="server" AutoDataBind="true"
    Line 33:         Visible="true" HasToggleGroupTreeButton="True" HasExportButton="True" HasPrintButton="True"
    Line 34:         HasViewList="True" ReuseParameterValuesOnRefresh="True" Width="350px" HasCrystalLogo="False"

    Source File: /Report/Rpt/ReportViewer.aspx    Line: 32  

任何人都可以给我解决这个错误的建议吗?

标签: asp.netcrystal-reports

解决方案


推荐阅读