Deal of the Day

Home » Main » Manning Forums » 2008 » Hello! Silverlight

Thread: Enjoying your book, a few errata

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Pages: 1 - Last Post: Jul 11, 2010 9:27 PM by: tlbignerd
djohnson

Posts: 20
Registered: 12/22/08
Enjoying your book, a few errata
Posted: Jan 10, 2009 10:19 AM
  Click to reply to this thread Reply

Hi. Nice book. I found a couple of errata.

On page 12, in the 6th line after the cartoon, it says "dame information" instead of "same information".

On pages 64-67, section 3.1, maybe I have a later version of Silverlight, but I noticed a number of differences between what's in your book and what I have, with both the Wizard and the code.

On page 79, the way the code is currently written (and explained), you set ScaleX to 0 (as well as ScaleY) but then you don't animate ScaleX (until page 82), so it stays at 0, and the bars don't show up. (Setting ScaleX to 1 for the code on page 79, and changing it to 0 for the code on page 82, fixes this.) Also, with the animation taking 0.3 seconds, the first time I run the page, I don't really see the animation. (I think maybe the browser is still getting the page to display.) If I then refresh the page, the animation shows well.

By the way, in the next section, with the data binding, I'm not experiencing the problem I mentioned above, of not seeing the animation when the page is first run.

bill.reiss

Posts: 10
Registered: 5/19/08
Re: Enjoying your book, a few errata
Posted: Jan 11, 2009 7:15 AM   in response to: djohnson in response to: djohnson
  Click to reply to this thread Reply

Thanks for your feedback and I'll check the latest for these issues. Chapter 3 has gone through some significant changes, since the Silverlight Toolkit guys released a very good chart control, I have changed the sample to a fish eye menu and cleaned some of this other stuff up. It looks like this version of the chapter isn't in MEAP yet.

Bill

djohnson

Posts: 20
Registered: 12/22/08
Re: Enjoying your book, a few errata
Posted: Jan 11, 2009 7:30 AM   in response to: bill.reiss in response to: bill.reiss
  Click to reply to this thread Reply

About the MEAP, this is the first MEAP book which I've read, and I downloaded it a few weeks ago. The MEAP FAQ says, "When new chapters are released all MEAP subscribers to that title will receive an email with an updated download link." But if you update a chapter, they might not send me an new download link, and in fact I haven't gotten one. If you submitted an updated Chapter 3 to Manning, I could email them and ask for the link.

Meanwhile here are a few more typos.

On page 100 two words are run together "exampleit" (in the second line of the Building Controls section). Also I think the next paragraph is missing a negative.

On page 103 I think the first bullet is in the wrong place.

On page 109 again two words ar run together "TabControlare" (in the third line).

Also on page 109 the namespace prefix and the assembly have changed, it's now xmlns:basics="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" and <basics:TabControl></basics:TabControl>

Also on page 109, I found I had to decrease the tab widths to 98.

On pages 117-120, here are a few typos, etc. for section 4.3. The ellipses weren't showing up at first, maybe because the Height attribute wasn't set. I set it to 20 and the ellipses were fine after that. I think you probably meant Grid.Column="1" for the second ellipse. (Also, you don't need Grid.RowDefinitions when there's only one row, so personally I prefer to leave it out.) One last thing, which I don't understand, the second ellipse has its Fill set to LightGreen, but there wasn't a Colors.LightGreen for the BorderBrush. Presumably this is why you set the BorderBrush to Green. But you might have wanted them to match.

tlbignerd

Posts: 3
Registered: 7/8/10
Re: Enjoying your book, a few errata
Posted: Jul 11, 2010 9:25 PM   in response to: djohnson in response to: djohnson
  Click to reply to this thread Reply

I just came across an issue in Chapter 3, Page 80:

The code above details a helper method named refreshStats() that is called from Page Load and also from the Refresh button on the tab. Two very simple method calls to the IsolatedStorageFile class provides the Quota and AvailableFreeSpace. The two values are converted to strings and placed in the appropriate TextBocks.

should be TextBlocks at the end.

tlbignerd

Posts: 3
Registered: 7/8/10
Re: Enjoying your book, a few errata
Posted: Jul 11, 2010 9:27 PM   in response to: djohnson in response to: djohnson
  Click to reply to this thread Reply

Also on page 81. the paragraph before the summary heading seems like it belongs under the Summary.

Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff