This is a migrated thread and some comments may be shown as answers.

Setting ReportSource parameter does not set the ReportDocument parameter value.

1 Answer 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 12 Sep 2019, 01:55 PM

PLEASE VIEW THE ATTACHED SCREEN SHOT.

Setting ReportSource parameter does not set the ReportDocument parameter value.

Why is the parameter value not flowing to the ReportDocument as the docs state it does?

Thank you!

Karl

1 Answer, 1 is accepted

Sort by
0
Accepted
Silviya
Telerik team
answered on 17 Sep 2019, 09:15 AM

Hello Karl,

I noticed that you've opened a support ticket on the same topic. So, let me post my answer here as well:

"In order to give a helpful answer, I will need more information about the current scenario and in what type of application the InstanceReportSource is used. If it is an application that employs the REST service, then InstanceReportSource can be used on the server - i.e. where the REST Service is working. Usually, such code is written in the ReportsController that resolves the report source. If the current web application is an ASP.NET app, where the processing is done server-side, then this problem should not occur.

I assume you are using a ReportProcessor instance to render the report in PDF format, but from the provided screenshot it is not clear when and how the report rendering happens. I can only see that the parameter in the report definition corresponds by name and value type to the parameters in ReportSource collection. You could inspect the RenderingResult.Errors array and check the inner exception details - it can give some clue what's wrong.

Please help us understand the current scenario by providing a runnable sample of the application so we can investigate it on our side and give a useful answer."

Best Regards,
Silviya
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Karl
Top achievements
Rank 1
Answers by
Silviya
Telerik team
Share this question
or