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

ReportBook in .Net Core 3.1 Application

3 Answers 261 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 10 Apr 2020, 08:51 PM
How do I create a report book in a .net core 3.1 application. I've got single reports working and I tried to create a custom resolver, but the documentation doesn't seem to fully apply to .net core. It really shouldn't be this hard. I've got several reports working, I just want to put them into a single document based on several conditions.

3 Answers, 1 is accepted

Sort by
0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 15 Apr 2020, 02:45 PM

Hi Tim,

My sincerest apologies for any frustrations you may be experiencing. In order to make it easier, I have attached a sample that includes a Report Book in ASP.NET Core 3.1 using the HTML5 Report Viewer. Note the Report Book was designed in the Standalone Report Designer and this may be different in your scenario.

Can you let me know if the attached sample meets your needs? Also, just for clarity as I am sure you have already done this. In order to run the attached sample, ensure the Telerik NuGet Feed is Configured in Visual Studio or using the CLI.

If it doesn't exactly meet your needs, can you let me know more about the scenario? For example, which Report Viewer is being used, how the Report Book is being created/designed and what is meant by put the reports into a single document based on several conditions? If privacy is a concern, we can convert this to a Support Ticket which will remove it from the public forum. This will also allow you to share code privately as well.

In the meantime, please let me know if you need any additional information. Thank you and I look forward to your reply.

Regards,


Eric R | Senior Technical Support Engineer
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Tim
Top achievements
Rank 1
answered on 03 Nov 2020, 03:38 PM

Finally getting back this this. Thanks for the example, that worked. I have another question regarding the document name on a report book. 

I've added two reports to the book that use a parameter to set the document name. I'm able to set the document name on the individual reports via the html5 viewer, but I can't get it work for the report book. In the Standalone designer it looks you can configure the document name, but none of the parameters are available in the expression editor. I've added them to each individual report and they both use the same parameter name.

Is there a way to set the document name on a report book?

Thanks,

Tim

 

 

0
Accepted
Eric R | Senior Technical Support Engineer
Telerik team
answered on 03 Nov 2020, 07:57 PM

Hi Tim,

This can be accomplished by manually typing the Parameters.NAME.Value in the Document Name expression editor. See the following screenshot for setting the Document Name to a merged parameter with the name of DocName

For additional reference, I have attached an updated sample. To run this sample locally, ensure the Telerik NuGet feed is configured in Visual Studio.

Please let me know if you have any issues with the sample or if you need any additional information. Thank you for choosing Telerik Reporting.

Regards,


Eric R | Senior Technical Support Engineer
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Tim
Top achievements
Rank 1
Answers by
Eric R | Senior Technical Support Engineer
Telerik team
Tim
Top achievements
Rank 1
Share this question
or