Hidden panel report item leaves white space

1 Answer 106 Views
Binding Report Designer (standalone)
Lukas
Top achievements
Rank 1
Lukas asked on 21 Feb 2023, 07:27 AM

Hello Support,

we use older version 7.0.13.426, 2012 as a part of GMSC. I face an issue with hiding Panel report item. When I set in Bindings both Visible and Style.Visible params to False for sure:

It causes extension of the DetailSection that exceeds to the next page and causes "blank" page. I set yellow background color for the DetailSection (orange is pageFooterSection) to make it more clear.

Could you help me please? This topic seemed to be similar to my issue and the link http://www.telerik.com/support/kb/reporting/details/collapse-the-container-when-hiding-child-report-items- is not working.

Thank you,

Lukas

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 23 Feb 2023, 10:04 AM

Hello Lukas,

Thank you for the provided information!

The Panel's CanShrink functionality was added in a later release(R3 2016) so in order to remove the empty space with the older version, you will need to also add a binding where you shrink the panel is the height, for example:

Besides the panel, the height of its children might also need to be shrunk manually before the container can shrink.

If that does not help, please consider upgrading to a newer version where those issues will be solved out of the box.

Please let me know if you have any other questions.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Lukas
Top achievements
Rank 1
commented on 23 Feb 2023, 11:47 AM

Hello Dimitar,

thanks for your suggestion. I also thought of this option and tried to make it work. Unfortunately it doesn't work even for panel without any children and I have no idea why. I am not able to set value for Height property at all.

 

Do you have an idea what I might be doing wrong?

Thanks

Lukas

Dimitar
Telerik team
commented on 27 Feb 2023, 02:16 PM

Hello Lukas,

I tested to reproduce this issue locally both with the current version and also with version 7.0.13.426, but I was not able to do so. The problem could have something to do with the culture of the machine. Some cultures use dots to separate the whole values while others use commas, have you tested setting the binding as = "0,3in" ?

If that does not help, I highly recommend upgrading to a newer version of the product and testing again. 

Lukas
Top achievements
Rank 1
commented on 03 Mar 2023, 10:17 AM | edited

Hello Dimitar,

with comma replace the error message disappeared. But I face still the same issue. This report:

looks in preview:


I attached source template. I don't understand the display of the yellow background and especially the space behind the panel that causes blank pages.

Thank you for your time

Lukas

Dimitar
Telerik team
commented on 08 Mar 2023, 09:10 AM

Hello Lukas,

The yellow space between the "Beginning" and "End" textboxes is from the detail section. In the version that you are using, the detail section cannot be shrunk so when the panel is hidden, the space stays there despite there being no report items.

As a semi-solution to this, you may use Docking to have the items docked to the Top. This way, when the panel is hidden, the "End" textbox will appear right below the "Beginning" textbox and the blank space will be rendered below them instead.

For details on how docking works, please see the Automatic Layout for Report Items with Anchoring and Docking - Telerik Reporting article.

I have modified the previously attached report to use the docking approach and am now attaching it to my reply.

Lukas
Top achievements
Rank 1
commented on 08 Mar 2023, 04:22 PM

Hello Dimitar,

 

thanks for your suggestion. It helps keep the content on the top but it doesn't solve the issue with blank page. I know that it is caused by detail section. Is there another way to shrink detail section?

We use Telerik as a part of Hexagon's GeoMedia Smart Client so I am unfortunately not able to update to the newer version.

 

Thank you

Lukas

Dimitar
Telerik team
commented on 13 Mar 2023, 09:43 AM

Hello Lukas,

The detail section cannot be shrunk on that version, I am afraid. However, you may be able to avoid the blank pages in the document by following some of the solutions suggested in the Remove Blank Pages from PrintPreview - Telerik Reporting KB article.

Please give it a try and let me know if you have any further questions.

Lukas
Top achievements
Rank 1
commented on 14 Mar 2023, 02:06 PM

Hello Dimitar,

Unfortunately, none of the suggestions for troubleshooting the blank page helped. It looks that only upgrading to a newer version could solve it.

L.

Tags
Binding Report Designer (standalone)
Asked by
Lukas
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or