Completed
Last Updated: 26 Oct 2023 07:00 by ADMIN
Release 2023 R3
Ilja
Created on: 25 Mar 2022 09:02
Type: Feature Request
1
Expose the report parameters collection for all HTML5-based report viewers

It would be very useful if the report parameters of all the HTML5-based report viewers become accessible from the report viewer widgets.

For example, we are currently working on a report that has a custom button that sends the current parameters to an API and "signs" the current report (e.g. saves a string in the database and displays it afterward in the report).

We would like to validate if the currently shown report matches the report parameters but are unable to find a valid solution for this scenario.
2 comments
ADMIN
Nikolay
Posted on: 26 Oct 2023 07:00

Hi,

Wanted to let you know that in release - R3 2023 (17.2.23.1010) - in addition to the HTML5 based viewers that received this functionality in R2 2023 SP1 (17.1.23.718) we have also implemented it for HTML5 ASP.NET WebForms Report Viewer and Blazor Native Report Viewer. Implementation of this functionality for the HTML5 ASP.NET MVC Report Viewer is currently unplanned.

In addition, we have also extended the getReportParameters() API to return displayMemember and valueMember for available value parameters. This was implemented for HTML5 JavaScript Report Viewer, Angular Report Viewer, React Report Viewer, Blazor Report Viewer and Blazor Native Report Viewer.

We'll appreciate it if you give it a try and share your thoughts.

Regards, Nikolay Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
ADMIN
Ivan Hristov
Posted on: 19 Jul 2023 15:13

Hello,

Just wanted to let you know that in our latest release - 2023 R2 SP1 - we have added a method named getReportParameters() that returns an immutable collection of evaluated report parameters. 'Evaluated' means that the parameter values are already processed by the backend, i.e. the collection contains the same parameters as the ones shown in the Parameter area.

Currently the feature is added to all the report viewers that are used in ASP.NET Core web apps: HTML5 JavaScript Report Viewer, Angular Report Viewer, React Report Viewer and Blazor Report Viewer. The HTML5 ASP.NET WebForms Report Viewer, HTML5 ASP.NET MVC Report Viewer, and Blazor Native Report Viewer will get this feature in a subsequent release of our product.

We will be happy if you give it a try and share your thoughts about it.

All best,

Ivan Hristov

Reporting Team