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

Report elements overlapping

3 Answers 116 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John Mann
Top achievements
Rank 1
John Mann asked on 23 Mar 2017, 11:39 PM

I have a report with about 30 sections that may or may not be displayed depending on choices made by the user. Each section is in a panel that is initially set to not display (visible = false). The panels are stacked up on the page with no space between them and are the full width of the page. At run time I problematically shrink them all to 1px tall and move them to the top of the report with each panel having its top 1px below the preceding one. The ones that the user wants to have printed are set to be visible at run time. Normally this works great and each panel expands to fit it's content and the panels below it are pushed down. But, occasionally certain combinations of panels will overlap each other. There are only a few that do this, but they do it consistently. In one case they are adjacent panels and in the other cases they are separated by a few panels that are still invisible.

Any advice on this problem?

Thanks,

John

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 24 Mar 2017, 05:30 PM
Hello John,

Please reset the Docking and Anchoring properties of all items.

Panel items can be placed on after another, and when you hide an item the rest content will move into the freed space. As of Telerik reporting R3 2016 the Panel item and sections have CanShrink properties.

For more details, please check Design Considerations for Report Item Layout.

Regards,
Stef
Telerik by Progress
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
0
John Mann
Top achievements
Rank 1
answered on 24 Mar 2017, 11:22 PM
Thanks from the response. I'm not using Docking or Anchoring anywhere on the report. I have previously referred to the document you reference and I think I am doing everything in accordance with it. I may have "fixed" the problem by adding a dummy panel at the very bottom of all the panels with no content, but with its visibility set to true.So far testing indicates that everything is working properly now, but more testing is needed.
0
Stef
Telerik team
answered on 27 Mar 2017, 04:50 PM
Hello John,

Please check if there are elements with 0 (zero) width or height and use their Visible properties instead.

In order to investigate the issue, please open a support ticket and send us the problematic report and test data in CSV format we can use locally.

Regards,
Stef
Telerik by Progress
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
John Mann
Top achievements
Rank 1
Answers by
Stef
Telerik team
John Mann
Top achievements
Rank 1
Share this question
or