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

Parameters in Blazor ReportViewer to trdp

1 Answer 880 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Veteran
Andrey asked on 24 Jul 2020, 06:41 PM

Hi,

I've created a trdp report (created parameters there) and trying to use it in blazor server side project. I've found the code below on Telerik doc page. Unfortunately there is no any code sample how to pass custom parameters here. Any example will help.

Thanks.

ReportViewer ViewerId="rv1"

ServiceUrl="/api/reports"

ReportSource="@(new ReportSourceOptions() { Report = "YOUR_REPORT_HERE.trdp" })"

Parameters="@(new ParametersOptions { Editors = new EditorsOptions { MultiSelect = EditorType.ComboBox, SingleSelect = EditorType.ComboBox } })" ScaleMode="@(ScaleMode.Specific)" Scale="1.0"

1 Answer, 1 is accepted

Sort by
0
Andrey
Top achievements
Rank 1
Veteran
answered on 25 Jul 2020, 10:30 AM

I've found the solution in BlazorHtml5Demo.

Thanks.

Shazib
Top achievements
Rank 1
commented on 12 Jul 2021, 07:18 PM

Hey can you please share the link for the solution?
Neli
Telerik team
commented on 13 Jul 2021, 10:39 AM

Hi Shazib,

You can check the installation folder of Telerik Reporting C:\Program Files (x86)\Progress\Telerik Reporting Version\Examples\CSharp - .NET5 and .NET Core 3.1 folders.

Shazib
Top achievements
Rank 1
commented on 13 Jul 2021, 05:18 PM

thankyou
Tags
General Discussions
Asked by
Andrey
Top achievements
Rank 1
Veteran
Answers by
Andrey
Top achievements
Rank 1
Veteran
Share this question
or