0
我是Telerik報告新手&已經開始添加Report Viewer到我的ASP.net MVC應用程序。在運行時ReportViewer顯示「Bad Request」& Fiddler顯示下面的錯誤消息。ASP.net MVC - Telerik報告錯誤=>/api/reports/clients返回「缺少報告名稱」
消息: POST/API /報告/客戶/ 215829-979c /參數HTTP/1.1 「漏報名」
能否請你幫我在這。
報告查看器的代碼片段:
Html.TelerikReporting().ReportViewer()
.Id("reportViewer1")
.ServiceUrl("/api/reports")
.TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.html")
.ReportSource(Model.ReportSource)
.ViewMode(ViewModes.INTERACTIVE)
.ScaleMode(ScaleModes.SPECIFIC)
.Scale(1.0)
謝謝 〜NM