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 report06. 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.