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