I have gotten the ASP.NET MVC Report Viewer working in my MVC application using the sample code provided on the website. I am viewing the sample report called SampleReport.trdx.
I have created a test report using the Visual Studio Designer and of course it is of .cs extension. ActiveUsers.cs.
In the ReportViewerView.cshtml the report source is set like so: .ReportSource(new UriReportSource() { Uri = "SampleReport.trdx" })
How to I change the reportsource to use the activeusers.cs; I have tried .ReportSource(new UriReportSource() { Uri = "ActiveUsers.cs" }) and it says the name cannot be resolved.
Regards,
Kurt