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

Locking size of a report

1 Answer 259 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Veteran
Jason asked on 18 Sep 2018, 05:51 PM

Hello, we are (ab)using reports to design printable documents, and we're having an issue with printing multiple reports on a page.

Normally, printing works fine, however when a certain field is long enough to create a new line, the size of the item gets increased, causing report items to get bumped to a new page. See attached image for the report item, which fits 6 to a 8.5x11 page in landscape mode.

What I'd like to happen is that items near marker #2 expand to take up the space up till the grid at marker #1, whereas right now any new line in the items at marker #2 will simply cause the entire report to be longer. I've attached a second image showing the actual printed result. If the third item weren't a line longer, there would be 3 more items on that page.

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 21 Sep 2018, 01:33 PM
Hi Jason,

We have answered the question in the support ticket you opened on the same topic. For the benefit of our community I will summarize the suggested approach also here :

"You can place the report items that may grow due to larger content in a Panel, which CanShrink property is set to False (the default value).
This way the Panel will always occupy the space till the grid at marker #1, and the report items will grow inside the Panel, without pushing the grid down. If the Panel cannot accommodate the content of its items it will grow and push the grid."

Regards,
Todor
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
Jason
Top achievements
Rank 1
Veteran
Answers by
Todor
Telerik team
Share this question
or