Possible to force a panel or textbox dynamically expand to take up full page?

1 Answer 20 Views
Rendering Report Designer (standalone) Report Wizard
Steve
Top achievements
Rank 1
Iron
Steve asked on 15 Mar 2024, 05:30 PM

I have a telerik report that has grouping sections based on a "Page Title"

The first page title is my Cover Page, which just contains a multi-line textbox that has its visibility set to TRUE only if the current group is the cover page

I want the textbox to be automatically centered in the page on rendering of the report without having calculate 11in-(header+footer+margins) and physically set the height of the textbox. Is this possible?

Sample attached

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 20 Mar 2024, 01:54 PM

Hello Steve,

The report items appear in the rendered report document as designed in the report definition concerning the surrounding items. I suggest the article Basic Design Considerations for Report Items for more details.

The items are located concerning their container, for example, the Report Section or Panel. They cannot be positioned with respect to the physical page. The reason is that different renderings may result in different page numbers and layouts.

You may try with Docking or Anchoring - Automatic Layout for Report Items. They still position the items with respect to the container.

If this doesn't work, and you know the size of the cover page when designing the report, you may indeed calculate the vertical position of the corresponding textbox.

When the page size is unknown in design time, you may change the report definition with code in runtime.

Regards,
Todor
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
Rendering Report Designer (standalone) Report Wizard
Asked by
Steve
Top achievements
Rank 1
Iron
Answers by
Todor
Telerik team
Share this question
or