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

Get real panel or table height after All bindings

1 Answer 149 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jakob
Top achievements
Rank 1
Jakob asked on 08 Nov 2019, 07:14 AM

Hello there, I am working on One pager report, and I need to know if data inside exceed one page in advance.

My idea was to get height of table or parent panel and add some space after bindings. But seems like it is not possible to get real height of panel or table, all the time height gets from designer.

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 12 Nov 2019, 02:54 PM

Hi Jakob,

Note that the Reporting tool is data-driven and the paging is automatically done based on the report design and the incoming data. The items generally grow downwards to accommodate their content if it exceeds the design-time area. It is not possible to customize the report appearance based on the particular height and location of a report item/section within a page, as the paging differs with each rendering format and the design-time height is generally different from the actual height when the report is generated with data.
Setting KeepTogetherCanShrinkPageBreak, etc. might help to achieve a certain layout based on your scenario.

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