Hide the footer band on a page

Stimulsoft Reports.NET discussion
Post Reply
lebien2015
Posts: 6
Joined: Thu Jan 24, 2019 1:31 pm

Hide the footer band on a page

Post by lebien2015 »

I have a footer band on a page. I want the footer band to be hidden if a data row in the data band meets a specific condition. I tried setting the condition in the BeforePrint event, but it hides the footer band on the next page. Is there any way to hide the footer band on the same page where a data row in the data band meets the condition?
Lech Kulikowski
Posts: 7287
Joined: Tue Mar 20, 2018 5:34 am

Re: Hide the footer band on a page

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Also, as a way, try to use the Enabled property.

Thank you.
lebien2015
Posts: 6
Joined: Thu Jan 24, 2019 1:31 pm

Re: Hide the footer band on a page

Post by lebien2015 »

I'm sorry that I can't send you a sample. But I tried to make a report on the demo. As you can see in the image I sent, in img1 is the report I designed. In img2, I set a condition to hide footerband1 when the phone number equals 40.32.21.21. However, the result in img4 was not as I expected. On the page with the phone number 40.32.21.21, footerband1 is still being displayed. Do you have any way to hide footerband1 in this case?
Attachments
img4.PNG
img4.PNG (48.2 KiB) Viewed 2775 times
img2.PNG
img2.PNG (51.83 KiB) Viewed 2775 times
img1.PNG
img1.PNG (33.55 KiB) Viewed 2775 times
Lech Kulikowski
Posts: 7287
Joined: Tue Mar 20, 2018 5:34 am

Re: Hide the footer band on a page

Post by Lech Kulikowski »

Hello,

On our Demo only the Interpretation mode is available. Your code will not work.

You can try to use the Blockly code or Enabled property to hide components.

Thank you.
Post Reply