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

Changing paperkind, how to resize header and footer?

1 Answer 166 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 1
Erik asked on 13 Nov 2012, 09:40 AM
Hi,

I have a report consisting of a dynamic amount of columns which usually fits on an A4 pdf report.
When the number of columns increases so that the A4 format can not display all on one page, I am trying to set the paperkind to A3 so that pdfs are created in A3 format.

However, I am not able to get the header and footer to follow the paperkind resizing. I have a legend table in the report footer that I would like to dock to the right. This does not work as the footer is not resized accordingly. Also, the width parameter for header and footer is not available to set programmatically, and I can not find any other solution to control the width of these sections.

Any suggestions appreciated!

Best regards,
Erik

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 15 Nov 2012, 05:00 PM
Hello Erik,

You cannot have report sections with different width, so setting the width of the detail section (the only mandatory section) is enough to guarantee all other sections would have its width. Docking and Anchoring won't work when you manually change the size of the report. Those properties only have effect whenever the report grows based on items growing. Manually changing the report size at runtime is equal to changing the size while designing the report, where Docking does not kick-in. Check the following forum thread for more information on setting page size programmatically.

Greetings,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Erik
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or