The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

stevegw (39) [Avatar] Offline
#1
Sorry if you have this already ... I just downloaded MEAP version and there is a typo or cut and paste error


protected override object SaveViewState() {
object state = new object[2]; #1
object[0] = counter; #1
object[1] = base.SaveViewState(); #1
return state;
}

for it to build should be

protected override object SaveViewState() {
object[] state = new object[2];
state[0] = counter;
state[1] = base.SaveViewState();
return state;
}
wictor.wilen (29) [Avatar] Offline
#2
Re: Listing 4.3 Overridden SaveViewState and LoadViewState that preservers the
Thanks,
those nasty small typos sneak up on you smilie
/WW