Problem: I am trying to pass a Report Parameter value from the query string on the page to my report that already has the parameter defined. I just can't seem to get the value passed all the way to the report.
Telerik.Reporting.Report report = new MyCustomReportLibrary.TelerikReport();
report.ReportParameters["parameterName"].Value = Request.QueryString["Id"];
ReportViewer.Report = report;
This syntax above is fine but when the variable "report" is created by the TelerikReport() constructor it doesn't have a value for the parameter yet and when I set it after the fact it doesn't seem to matter. Even if I try to call a ReportViewer.RefreshReport().
Places I have looked:
- Telerik Documentation on using Telerik Reporting in Web Apps
- Telerik Community Support
- I also submitted a telerik support ticket but tomorrow is Bulgarian Independence day.
Thanks for the help,
Chris