This is a migrated thread and some comments may be shown as answers.

Asp.Net MVC / Html5 Report Viewer

1 Answer 164 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Geoffrey
Top achievements
Rank 1
Geoffrey asked on 22 Sep 2014, 08:58 AM
Hi,

I'm trying to add Html Report Viewer using Helper using the following code

@(

Html.TelerikReporting().ReportViewer()
       .Id("reportViewer1")
       .ServiceUrl(Url.Content("~/api/reports/"))
       .TemplateUrl(Url.Content("~/html5/reportviewer/templates/telerikreportviewertemplate-8.1.14.804.html"))
       .ReportSource(source)
       .ViewMode(ViewModes.INTERACTIVE)
       .ScaleMode(ScaleModes.SPECIFIC)
       .Scale(1.0)
       .PersistSession(false)
      )

But, I have the following error "Not found : undefined"

What did I do wrong ?

1 Answer, 1 is accepted

Sort by
0
Hinata
Top achievements
Rank 1
answered on 24 Sep 2014, 03:58 PM
Hi Geoffrey,

It seems the viewer is not implemented correctly, but I'm not sure what is the exact cause. Follow the How To: Use HTML5 Report Viewer extension in an ASP.NET MVC application help article closely and you shouldn't face any issues. You can also check the example MvcDemo on your machine which is installed with the Reporting product.
Tags
General Discussions
Asked by
Geoffrey
Top achievements
Rank 1
Answers by
Hinata
Top achievements
Rank 1
Share this question
or