relieve little difference to one page

Stimulsoft Reports.NET discussion
Post Reply
so29
Posts: 72
Joined: Mon Nov 02, 2009 1:29 pm

relieve little difference to one page

Post by so29 »

I have one page and need to 3 copeis of it

change Number of copeis =3

Page 1 of report must relieve little difference

use by this code in BeginRenderdEvent

If(PageNumber == 1)
{
Text1.Enabled=false;
}


But impress by all page


Thank you.
Stephan1
Posts: 122
Joined: Fri Aug 31, 2007 7:22 am
Location: Germany

relieve little difference to one page

Post by Stephan1 »

so29 wrote:I have one page and need to 3 copeis of it

change Number of copeis =3

Page 1 of report must relieve little difference

use by this code in BeginRenderdEvent

If(PageNumber == 1)
{
Text1.Enabled=false;
}


But impress by all page


Thank you.

Hi,

you need to put that code into the BeginRenderEvent of the Page not of the BeginRenderEvent of the Report.

Hope that help's

cheers

Stephan
so29
Posts: 72
Joined: Mon Nov 02, 2009 1:29 pm

relieve little difference to one page

Post by so29 »

hi
you need to put that code into the BeginRenderEvent of the Page not of the BeginRenderEvent of the Report
this code use in BeginRenderEvent of the Page
But impress by all page



Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

relieve little difference to one page

Post by Edward »

Hi

Please write instead of

Code: Select all

If(PageNumber == 1)
{
  Text1.Enabled=false;
}
the following code:

Code: Select all

if(CurrentPrintPage == 1)
{
Text1.Enabled=false;
}
Thank you.
Post Reply