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

How to view SampleReport in ASP.NET MVC application

2 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ciaran
Top achievements
Rank 1
Ciaran asked on 07 Jun 2018, 08:49 AM

I've followed the instructions in the documentation for setting up a the MVC Report Viewer in my ASP.NET MVC web application. The app path maps to "~/Reports", and in the root of my project I have a folder named 'Reports' which contains the SampleReport.trdp. I believe I have all the other configuration in place (Global.asax, web.config etc.). 

How do I view this sample report? What is the URL for viewing any reports? The documentation is very minimal, are there any tutorials for setting up Telerik reporting in an MVC app?

2 Answers, 1 is accepted

Sort by
0
Ciaran
Top achievements
Rank 1
answered on 07 Jun 2018, 09:36 AM
I created a controller and action which returns the 'ReportViewer.cshtml' view, but I'm now getting the error message via browser console: "Uncaught (in promise) Invalid cliendID". 

Any ideas?
0
Ciaran
Top achievements
Rank 1
answered on 07 Jun 2018, 11:16 AM
Problem sorted, I had a HTTP handler which was manipulating the response. This thread could probably be deleted (I don't see an option to delete anywhere). 

Thanks. 
Tags
General Discussions
Asked by
Ciaran
Top achievements
Rank 1
Answers by
Ciaran
Top achievements
Rank 1
Share this question
or