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

Report Header/Footer Template

1 Answer 291 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Prashant
Top achievements
Rank 1
Prashant asked on 15 Apr 2019, 09:42 AM

Hi Team,

I am using Visual studio 2017 for designing Class Library Report (.cs) in my project.

And wanted to create template for Header and Footer, So I can use that in multiple Reports, but i couldn't find any solution in visual studio.

But it looks there is some option in Standalone designer tool that I am not using.

Please guide.

 

Thank you!

Prashant

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 18 Apr 2019, 07:08 AM
Hi Prashant,

Basically the Report Templates are meant to give you a base report definition that would allow you to faster create similar reports which share features. The idea is to create the base report, then export it as a template and every subsequent report can be started with this template saving you the trouble of doing the same work multiple times.

Currently the TRTX files can only be created by the Standalone Report Designer and there isn't a public API that would allow you to do so by code. Same goes for using them. 
If you want to reuse something in code, you can just create a base report, instantiate it and work over it. There is no need to create a template for the purpose. 

Regards,
Silviya
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Prashant
Top achievements
Rank 1
Answers by
Silviya
Telerik team
Share this question
or