Pass list of dtos to report data source in blazor

1 Answer 69 Views
General Discussions Report Parameters
Sami
Top achievements
Rank 2
Iron
Iron
Iron
Sami asked on 01 Jul 2023, 01:51 AM

Hi:

In blazor I have a list of dtos, I want to assing it to a report similar to the process in wpf. How can i Accomplish it? is posible?

I Try with a custom resolver in the server side, but I have to send the thada from the balzor layer to the custom resolver and im not sure if is a good idea.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 05 Jul 2023, 08:42 AM

Hello Sami,

Telerik reports are rendered on the server by the reporting service when using a web viewer, so the data has to be passed to the custom resolver or as long as the same data can be created on the server, an ObjectDataSource might be used.

For an example of how client data can be passed to the custom resolver, in a Blazor application, have a look at the reporting-samples/BlazorGridAndReportViewer at master · telerik/reporting-samples · GitHub project.

And for examples of the ObjectDataSource component, you may see the following articles:

Hope this helps!

Regards,
Dimitar
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
General Discussions Report Parameters
Asked by
Sami
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dimitar
Telerik team
Share this question
or