ASP.NET AJAX In Action - Errata

If you find any mistakes in the book, please post them in the Author Online Forum.

Chapter 1
Chapter 2
Chapter 3
Chapter 5
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11

Chapter 1

Where: Page 6, Line 4 after the Note
Find: JavaScript as the that holds
Change To: JavaScript as the glue that holds

Chapter 2

Where: Page 44, Section 2.2.2, Line 8
Find: activity diagram
Change To: sequence diagram

Where: Page 60, Listing 2.6, Line 6 from the bottom
Find: var myLabel
Change To: var urlLabel

Where: Page 63, In both the last two lines
Find: formatLocale
Change To: localeFormat

Chapter 3

Where: Page 111, Line 6
Find: get_event
Change To: get_events

Where: Page 93, Listing 3.5, Inside the set_age function, Line 5
Find: this._age = 0;
Change To: this._age = value;

Where: Page 95, Listing 3.7, Inside the Pet function
Find: this._name;
this._age;
Change To: this._name = '';
this._age = 0;

Where: Page 105, Line 1 from the bottom
Find: Samples.PetIsInstanceOfType
Change To: Samples.Pet.isInstanceOfType

Where: Page 105, Line 6 from the bottom
Find: new Cat()
Change To: new Samples.Cat()

Where: Page 105, Line 7 from the bottom
Find: new Pet()
Change To: new Samples.Pet()

Chapter 5

Where: Page 171, Listing 5.17
Find: First statement
Change To: private readonly static string apiKey = "YD-xeRMEJo_JX3b3GYHNVfy7N0Xow0Uuko";

Where: Page 171, Listing 5.17
Find: Second statement
Change To: private readonly static string geocodeUriFormat = "http://local.yahooapis.com/MapsService/V1/geocode?appid={0}-&street={1}&zip={2}&city={3}&state={4}";

Where: Page 176. In order to run the example, you have to provide a key to access the Flickr API. The following code must be added to the web.config file. Please note that the code is already present in the source code provided with the book.
  <appSettings>
  <add key="FlickrAppKey" value="d9479f705f3a846adb2502b12904dfbf " />
</appSettings>

Chapter 7

Where: Page 237, Listing 7.1, Line 3
Find: !Page.IsPostBack
Change To: Page.IsPostBack

Where: Page 239, Line 13
Find: the ID of the control that invoked the property is also
Change To: the ID of the control that invoked the postback is also

Where: Page 258, Listing 7.15, Line 15
Find: gv.parentNode.removeNode(gv);
Change To: gv.parentNode.removeChild(gv);

Chapter 8

Where: Page 273, Table 8.1, Row 2, Column 2
Find: Sys.Application.create
Change To: Sys.Component.create

Where: Page 293, Listing 8.12, Last statement
Find: Samples.ImageGallery.registerClass('Samples.PhotoGallery',Sys.UI.Control);
Change To: Samples.PhotoGallery.registerClass('Samples.PhotoGallery',Sys.UI.Control);

Chapter 9

Where: Page 307, Section 9.2.1, Line 12
Find: activity diagram
Change To: sequence diagram

Chapter 10

Where: Page 342, Line 1 after Listing 10.5
Find: becomes the value of the name property
Change To: becomes the value of the id property

Chapter 11

Where: Page 389, First code snippet in section 11.2.2
Find: target="myButton"
Change To: target="greetButton"