Page 1 of 1

hide / show itens

Posted: Tue Jun 18, 2013 12:18 pm
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.

Re: hide / show itens

Posted: Wed Jun 19, 2013 1:36 pm
by HighAley
Hello.

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

Thank you.

Re: hide / show itens

Posted: Wed Jun 19, 2013 5:41 pm
by Davyd.Carlos
Problem solved.

Thanks a lot!

[]s

Re: hide / show itens

Posted: Wed Jun 19, 2013 5:43 pm
by Davyd.Carlos
How to hide the white part which is in place of the item, when invisible?

Re: hide / show itens

Posted: Thu Jun 20, 2013 2:24 pm
by HighAley
Hello.

Could you describe your issue more detailed with examples.

Thank you.

Re: hide / show itens

Posted: Thu Jun 20, 2013 5:02 pm
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!

Re: hide / show itens

Posted: Tue Jun 25, 2013 6:54 am
by HighAley
Hello.

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

Thank you.

Re: hide / show itens

Posted: Tue Jun 25, 2013 6:07 pm
by Davyd.Carlos
Hello Aleksey.

The problem was solved.

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

Thanks a lot!

Re: hide / show itens

Posted: Tue Jun 25, 2013 7:10 pm
by Andrew
Hello,

Thank you very much for the good words.

Have a good day!