hide / show itens

Stimulsoft Reports.NET discussion
Post Reply
Davyd.Carlos
Posts: 7
Joined: Fri Jun 14, 2013 11:33 am

hide / show itens

Post by Davyd.Carlos »

Good morning!

I need hide / show some items in a report according to which comes in a DataSet.

For a example:

If DataSet contains: (TBVIASCONTRATO.MOSTRAR_VIA2 == "N"), i need hide the page 2 in the report.

It's possible? If yes, how?

I try to use a event EndRender in Report : Report as follows:

StiPage renderedPage = this.RenderedPages[2];

if (TBVIASCONTRATO.MOSTRAR_VIA2 == "N")
renderedPage.Enabled = false;

It's wrong, right?

Awaiting.

Thanks a lot.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: hide / show itens

Post by HighAley »

Hello.

Please, read the Conditional Formatting section of our User Manual.

Thank you.
Davyd.Carlos
Posts: 7
Joined: Fri Jun 14, 2013 11:33 am

Re: hide / show itens

Post by Davyd.Carlos »

Problem solved.

Thanks a lot!

[]s
Davyd.Carlos
Posts: 7
Joined: Fri Jun 14, 2013 11:33 am

Re: hide / show itens

Post by Davyd.Carlos »

How to hide the white part which is in place of the item, when invisible?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: hide / show itens

Post by HighAley »

Hello.

Could you describe your issue more detailed with examples.

Thank you.
Davyd.Carlos
Posts: 7
Joined: Fri Jun 14, 2013 11:33 am

Re: hide / show itens

Post by Davyd.Carlos »

Of Course!

the idea is, rise up the components that are below the item that was hidden.

For a example:

Before:
a-) text will be hidden
b-) fixed text
c-) fixed text

After hide clause a-) :

b-) fixed text
c-) fixed text

What i need after hide clause a-) :
b-) fixed text
c-) fixed text

I was clear in the example?

Awaiting.

Thanks a lot!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: hide / show itens

Post by HighAley »

Hello.

Please, read the Automatically Shifting Components section from our User Manual.

Thank you.
Davyd.Carlos
Posts: 7
Joined: Fri Jun 14, 2013 11:33 am

Re: hide / show itens

Post by Davyd.Carlos »

Hello Aleksey.

The problem was solved.

Your help was very important, congratulations for the great service.

Thanks a lot!
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: hide / show itens

Post by Andrew »

Hello,

Thank you very much for the good words.

Have a good day!
Post Reply