Asp.Net MVC / Html5 Report Viewer

2 posts, 0 answers
  1. Geoffrey
    Geoffrey avatar
    48 posts
    Member since:
    Mar 2013

    Posted 22 Sep 2014 Link to this post

    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 ?
  2. Hinata
    Hinata avatar
    146 posts
    Member since:
    Dec 2013

    Posted 24 Sep 2014 in reply to Geoffrey Link to this post

    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.
Back to Top