How to evaluate parameters outside of the report viewer

1 Answer 14 Views
.NET Core Expressions Programming Report Parameters
Nathan
Top achievements
Rank 1
Nathan asked on 25 Oct 2024, 04:41 AM

We are trying to create a user interface with UI for Blazor that allows users to view and choose parameter values for their reports without having to go into the report viewer. However, the complexity of some of the expressions used for things like display value, available value filtering, and default values pose a challenge to evaluating those parameters ourselves. Is there a way to programmatically evaluate those parameters for the above using the telerik reporting library so that we can display them in our UI?

 

We are using the Telerik.Reporting.Report object to get the parameter data, and have also tried instantiating a InstanceReportSource for the object as well but both have only given the expression for display value/available values/default values rather than the evaluated values.

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 29 Oct 2024, 04:02 PM

Hi Nathan,

You may use a Reporting REST Service to get the default parameter values through the Get Report Parameters request. If you already use a viewer and want only to create a custom parameters area outside it, you may reuse the service used by the viewer.

Regards,
Todor
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/.
Tags
.NET Core Expressions Programming Report Parameters
Asked by
Nathan
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or