Greetings!
I need help with receiving parameters from a report. The following code allows me to alter the DataSource of such Report, however I still need to intercept and alter the parameters used on that report.
01.
public
Telerik.Reporting.ReportSource Resolve(
string
report)
02.
{
03.
ReportSource reportInstance;
04.
05.
//retrieve an instance of the report
06.
var connectionString =
"Data Source=OurServer;Initial Catalog=OurDataBase;User ID=xxxxxxxx;xxxxxxx;"
;
07.
ReportConnectionStringManager csm =
new
ReportConnectionStringManager(connectionString);
08.
09.
var appPath = HttpContext.Current.Server.MapPath(
"~/"
);
10.
var reportsPath = Path.Combine(appPath,
"Reports"
);
11.
var uri = Path.Combine(reportsPath, report);
12.
13.
var sourceReportSource =
new
UriReportSource() { Uri = uri };
14.
15.
reportInstance = csm.UpdateReportSource(sourceReportSource);
16.
17.
return
reportInstance;
18.
}
Is it possible to receive and modify parameters from the report call utilizing HttpContext.Current ? Or is there a Telerik Class/Method that allows me to do so?
Thanks in advance! Best Regards.
I'm developing a WPF application, using Visual Studio 2017 Community and SQL Server 2.016. The version of the report generator is R2 2017 11.1.17.503
The strange thing is that the data appears when the DataSource is configured. However, when you run Preview, the detail line data is invisible.
My stored procedure uses a temporary table and creates the SQL command dynamically.
Could someone please help?
Hello! I have installed the Angular 4 component. My Angular project is up and running, but the component is acting funny. It isn't even TRYING to connect to the report server before throwing the classic "Error loading the report viewer's templates. " error. I've seen all the FAQ stuff about making sure that the reporting api is running, and it definitely is. The weird thing is that the component doesn't even try to connect. I'm monitoring the requests in the browser, and nothing ever goes toward the reporting api at all.
I'd love to be able to use this component, but I'm having trouble even getting off the ground with it.
Yes, I have Angular 4 and jQuery 3.2.1. I installed the component off NPM.
Thanks for any help you can provide!
- Chris
The assembly "MyLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" is not permitted to be used by an ObjectDataSource component. Please include it in an AssemblyReferences element in the Telerik.Reporting configuration section of your application configuration file
Hello,
I have a Polar graph with some data points, I have formatting rules for these data points so they change colors based on some data. Howevever, when the points are on the northern axis and in this middle circle they have the correct color but the axis looks like its being rendered ON TOP of the point. How do i fix this?