I am programmatically generating a PDF from a TRDP file which uses an ObjectDataSource. When I preview my report using default values in the standalone report designer, the data is displayed correctly. When I set the parameters programatically and render the report in code, no data is displayed. Here is the code to generate the PDF. Appreciate any help.
Telerik.Reporting.UriReportSource reportSource = new Telerik.Reporting.UriReportSource { Uri = "Reports\\MyReport.trdp" };reportSource.Parameters.Add(new Telerik.Reporting.Parameter("batchId", batchId));reportSource.Parameters.Add(new Telerik.Reporting.Parameter("accession", accession));Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable();var result = reportProcessor.RenderReport("PDF", reportSource, deviceInfo);