【问题标题】:Use Visual Studio Reportdesigner with Telerik Reporting and MVC5将 Visual Studio Reportdesigner 与 Telerik Reporting 和 MVC5 结合使用
【发布时间】:2015-07-13 19:19:14
【问题描述】:

我想在我的 ASP.NET MVC5 应用程序中创建一个 Telerikreport。

但我也想使用 Visual Studio 报表设计器。

所有教程都只讨论使用生成 .trdx 文件的 Telerik 报表设计器。

如何将我的 Reportviewer 与 Visual Studio 报表设计器生成的 .cs 文件一起使用?

@(Html.TelerikReporting().ReportViewer()
   .Id("reportViewer1")
   .ServiceUrl("/api/reports/")
   .TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.htmll")
   .ReportSource(new UriReportSource() { Uri = "Product Catalog.trdx" })
   .ViewMode(ViewModes.INTERACTIVE)
   .ScaleMode(ScaleModes.SPECIFIC)
   .Scale(1.0)
   .PersistSession(false)
   .Deferred()
   )

【问题讨论】:

    标签: asp.net-mvc-5 telerik-reporting report-designer


    【解决方案1】:
    • 视觉工作室:
      • 创建一个新的类库或使用现有的类库。验证目标 .NET 框架版本是否为 .NET4(+),不支持作为客户端配置文件的完整配置文件。
      • 右键单击项目上下文菜单并选择添加|新品 | Telerik 报告 2015 年第二季度向导。输入报告类的名称,然后单击“添加”按钮关闭对话框。选择报告向导表单打开。
      • 从列表中选择Band Report Wizard选项,然后点击OK

    顺便说一句,你有没有看到这个链接:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-30
      • 2020-07-18
      • 1970-01-01
      相关资源
      最近更新 更多