Unplanned
Last Updated: 27 Nov 2017 14:53 by ADMIN
Heiko
Created on: 11 Apr 2015 12:08
Type: Feature Request
3
Add a "Path to Reports" property to ReportViewer
When you have your .trdx and external stylesheet files in a separate directory (e. g. a server directory available to all workplaces) it gets very difficult to show the .trdx files in ReportViewer without manipulating the reports a lot by code.

1. The external stylesheets are searched in the bin\Debug directory of the main application when using Kind="Relative".
2. What is even more annoying is the fact that all SUBREPORTS are also searched in the bin\Debug of the main application. I have to recursively look through all report items if there is a subreport and set its location.

It would be very nice if the ReportViewer supports some kind of "path-to-reports" property and locate all the dependend files like subreport or stylesheet in this directory.
2 comments
ADMIN
Milen | Product Manager @DX
Posted on: 27 Nov 2017 14:52
If the master report is loaded as UriReportSource, the relative subreport UriReportSource-s get resolved using the path of the master report as base URI. Still when the master report is loaded as InstanceReportSource, it would be helpful to be able to specify dfferent base URI than the application default one.
Patrick
Posted on: 15 Aug 2016 20:05
In short term, it could be at least search his subreport in the same path than the report path. Actually, if we open a report from a network path with a subreport inside, the report engine will search the subreport in the exe path.