Click here to Skip to main content
15,915,328 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: IEnumerable Unboxing and ToMethods Pin
Addy Tas7-Dec-11 11:02
Addy Tas7-Dec-11 11:02 
GeneralMessage Removed Pin
12-Dec-11 4:10
professionalN_tro_P12-Dec-11 4:10 
GeneralRe: IEnumerable Unboxing and ToMethods Pin
Addy Tas12-Dec-11 9:45
Addy Tas12-Dec-11 9:45 
QuestionPrinting: HasMorePages ignored Pin
W Balboos, GHB17-Nov-11 6:48
W Balboos, GHB17-Nov-11 6:48 
AnswerRe: Printing: HasMorePages ignored Pin
Richard MacCutchan17-Nov-11 8:38
mveRichard MacCutchan17-Nov-11 8:38 
GeneralRe: Printing: HasMorePages ignored Pin
W Balboos, GHB17-Nov-11 8:48
W Balboos, GHB17-Nov-11 8:48 
AnswerRe: Printing: HasMorePages ignored Pin
Luc Pattyn17-Nov-11 9:21
sitebuilderLuc Pattyn17-Nov-11 9:21 
GeneralRe: Printing: HasMorePages ignored Pin
W Balboos, GHB17-Nov-11 9:48
W Balboos, GHB17-Nov-11 9:48 
Luc Pattyn wrote:
As long as you don't set it false, the system will continue firing the PrintPage event

Thanks - this is the key: it's potentially recursive.

I'd just happened across a reference that said as much, which I posted. My plan is, as noted above, to use a static int as a counter (such as by giving it class scope), by which means it will (1) page and (2) not print everything on each page - or so I hope.

It's interesting that I've made this work for me in the past without understanding this simple but essential key to its use.

Thanks.


"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"As far as we know, our computer has never had an undetected error." - Weisert
"If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

AnswerRe: Printing: HasMorePages ignored Pin
Luc Pattyn17-Nov-11 9:59
sitebuilderLuc Pattyn17-Nov-11 9:59 
Question64 bit vs. 32 bit for developers... Pin
Jun Du17-Nov-11 3:44
Jun Du17-Nov-11 3:44 
AnswerRe: 64 bit vs. 32 bit for developers... Pin
Richard MacCutchan17-Nov-11 6:58
mveRichard MacCutchan17-Nov-11 6:58 
AnswerRe: 64 bit vs. 32 bit for developers... Pin
Luc Pattyn17-Nov-11 9:27
sitebuilderLuc Pattyn17-Nov-11 9:27 
AnswerRe: 64 bit vs. 32 bit for developers... Pin
David Skelly17-Nov-11 22:33
David Skelly17-Nov-11 22:33 
GeneralRe: 64 bit vs. 32 bit for developers... Pin
Albert Holguin21-Nov-11 8:02
professionalAlbert Holguin21-Nov-11 8:02 
Questionintegrate the report manager to asp.net project Pin
shijuse15-Nov-11 18:18
professionalshijuse15-Nov-11 18:18 
AnswerRe: integrate the report manager to asp.net project Pin
Abhinav S15-Nov-11 18:30
Abhinav S15-Nov-11 18:30 
GeneralRe: integrate the report manager to asp.net project Pin
shijuse16-Nov-11 17:06
professionalshijuse16-Nov-11 17:06 
Question.NET4+.NET2 Pin
columbos1492713-Nov-11 22:26
columbos1492713-Nov-11 22:26 
AnswerRe: .NET4+.NET2 Pin
Not Active13-Nov-11 22:46
mentorNot Active13-Nov-11 22:46 
AnswerRe: .NET4+.NET2 Pin
rajeevcapgeminiindia17-Nov-11 19:32
rajeevcapgeminiindia17-Nov-11 19:32 
Question.net all about Pin
syedkhaleel12-Nov-11 0:01
syedkhaleel12-Nov-11 0:01 
AnswerRe: .net all about Pin
Richard MacCutchan12-Nov-11 0:16
mveRichard MacCutchan12-Nov-11 0:16 
QuestionEntity Framework 4.1 Pin
nv_thien11-Nov-11 3:35
nv_thien11-Nov-11 3:35 
AnswerRe: Entity Framework 4.1 Pin
Pete O'Hanlon11-Nov-11 4:26
mvePete O'Hanlon11-Nov-11 4:26 
AnswerRe: Entity Framework 4.1 Pin
Not Active11-Nov-11 5:22
mentorNot Active11-Nov-11 5:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.