hello,
I Want Disable PageFooterBand1 in last page to use of under code int After Print PageFooterBand1, but TotalPageCount in code do not work correct
if (TotalPageCount== PageNumber)
{
this.PageFooterBand1.Enabled = false;
}
else
{
this.PageFooterBand1.Enabled = true;
}
Disable PageFooterBand1 in last page
Re: Disable PageFooterBand1 in last page
Hello.
Thank you.
You should set the Number of Pass property of the report to Double Pass and use next code:shahabi wrote:I Want Disable PageFooterBand1 in last page to use of under code int After Print PageFooterBand1, but TotalPageCount in code do not work correct
if (TotalPageCount== PageNumber)
{
this.PageFooterBand1.Enabled = false;
}
else
{
this.PageFooterBand1.Enabled = true;
}
Code: Select all
if (isSecondPass && TotalPageCount== PageNumber)
{
this.PageFooterBand1.Enabled = false;
}
else
{
this.PageFooterBand1.Enabled = true;
}
Re: Disable PageFooterBand1 in last page
Thanks for replay Mr. Andreyanov
Re: Disable PageFooterBand1 in last page
Hello,
Let us know if you have additional questions.
Thank you.
Let us know if you have additional questions.
Thank you.