不能以声明方式设置“ HasViewList”属性

时间:2019-06-03 13:04:00

标签: asp.net crystal-reports

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

以下工具已安装在计算机中。

  1. Visual Studio 2017的SAP Crystal Report开发人员版本
  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  

请问有人可以解决这个错误吗?

0 个答案:

没有答案