Errata

MCTS Self-Paced Training Kit (Exam 70-528): Microsoft® .NET Framework 2.0 Web-Based Client Development

Errata for MCTS Self-Paced Training Kit (Exam 70-528): Microsoft® .NET Framework 2.0 Web-Based Client Development

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Other Digital Version See below
On the Confirmed Errata web page for this book

On the "Confirmed Errata" web page for this product (p. 98) which reads as follows:

---------------------------------------------------------------------
Label can also be rendered as a tag
On page 98, the second to the last sentence of the second paragraph reads:

"The Literal control does not provide substantial functionality and does not add any HTML elementrs to the Web page where the Label is rendered as a tag."

It should read:

"The Literal control does not provide substantial functionality and does not add any HTML elementrs to the Web page where the Label is rendered as a or a tag."
---------------------------------------------------------------------

Please insert an escape character so that we can read the name of the tag (e.g., '[Span]' but with the left bracket replaced with a less-than sign and the right bracket replaced with a greater-than sign.

Art Bergquist  Nov 22, 2010 
Other Digital Version See below
On the Confirmed Errata web page

Microsoft Press indicates the following WRT "Page 162 and 163" in the "Printed" version:

----------------------------------------------------------------------
Incorrect property used in code example
On pages 162, the second code example at the bottom of the page reads:

It should read:

On page 163, the second code example at the top of the page reads:

It should read:

----------------------------------------------------------------------

Please include the original code example as well as the corrected code example both for p. 162 as well as for p. 163.

Art Bergquist  Nov 22, 2010 
Other Digital Version See below
On the "Confirmed Errata" web page

On the Confirmed Errata web page, Microsoft Press indicated the following regarding printed pages 452-453:

---------------------------------------------------------------
C# should be VB and vice versa
On page 452, the first line of the VB code sample for step 4 is incorrect.

Change:

To:

On page 453, the first line of the C# code sample for step 4 is incorrect.

Change:

To:

---------------------------------------------------------------

Please insert an escape character so that we can read '[slash][slash]C#' and '[apostrophe]VB'.

Art Bergquist  Nov 22, 2010 
Printed, PDF Page See below
On the 'Confirmed Errata' web page

Microsoft Press reported the following regarding what is printed on p. 477:

----------------------------------------------------------------
Figure 6-4 is incorrect and should be disregarded
On page 477, Figure 6-4 is a copy of Figure 4-4 on page 241 and should be disregarded.
----------------------------------------------------------------

The issue is also in the .PDF (e-book).

In addition to what Microsoft Press reported, the 2nd sentence of Step 14 should also be removed, viz.:

"The completed Web page is shown in Figure 6-4."

Art Bergquist  Nov 22, 2010 
Other Digital Version See below
On the 'Confirmed Errata' web page

Microsoft Press reported the following issue with the printed Page 483:

------------------------------------------------------------
Semicolon missing from code sample
On page 513, the last line is missing a semicolon.


Change:

Label1.Text = "HiddenField clicks: " + HiddenField1.ValueTo:

Label1.Text = "HiddenField clicks: " + HiddenField1.Value;
------------------------------------------------------------

The following line:

Label1.Text = "HiddenField clicks: " + HiddenField1.ValueTo:

should be replaced with:

Label1.Text = "HiddenField clicks: " + HiddenField1.Value

To:

Art Bergquist  Nov 22, 2010 
Other Digital Version See below
On the "Confirmed Errata" web page

On the "Confirmed Errata" web page, Microsoft Press reported the following WRT the printed page 593:

--------------------------------------------------------
"master=" used in place of "MasterPageFile="
On page 593, the first line in the VB and C# code reads:

'VB

//C#

They should read:

'VB

//C#
--------------------------------------------------------

Escape characters should be employed so that we can see the original code and what the new code should be.

Art Bergquist  Nov 23, 2010 
Printed Page 32
2nd line of 5th point in the "Processing the Configuration Files" section

Replace "Web.conifg" with "Web.config" in the following sentence:

"5. If you have subdirectories in your Web application, the subdirectories can have a Web.conifg file that includes settings that are specific to the files and folders that are contained within this folder."

Art Bergquist  Nov 19, 2010 
PDF Page 32
2nd line of 5th point in the "Processing the Configuration Files" section

Replace "Web.conifg" with "Web.config" in the following sentence:

"5. If you have subdirectories in your Web application, the subdirectories can have a Web.conifg file that includes settings that are specific to the files and folders that are contained within this folder."

Art Bergquist  Nov 19, 2010 
Printed, PDF Page 38
In the "Display trace output for" section

Please replace "LocalRequestsOnly" with "LocalOnly" in the 2nd sentence in the Description for the "Display trace output for":

"When set to LocalRequestsOnly, the trace facility only operates with request sand PostBacks from the computer that the Web server is running on."

The resultant sentence reads as follows:


"When set to LocalOnly, the trace facility only operates with request sand PostBacks from the computer that the Web server is running on."

Art Bergquist  Jul 11, 2011 
Printed, PDF Page 54
3rd and 4th lines of the "Using EnableViewState to Minimize ViewState Size" paragraph

The wording of the following sentence is awkward:

"To minimize the data that is in ViewState, you can set the EnableViewState property, which your server controls to false."

Here are a couple alternate sentences that I propose to replace the above sentence:

Alternate 1:

"To minimize the data that is in ViewState, you can set the EnableViewState property, which your server controls, to false."

(inserted a comma [","] immediately after "controls")

Alternate 2:

"To minimize the data that is in ViewState, you can set the EnableViewState property of your server controls to false."

(replaced ", which" with "of")

Art Bergquist  Nov 19, 2010 
Printed, PDF Page 60
3rd bullet point in the "Making the Decision: HTML or Web Server Controls?" section

I recommend removing the word "and" from the 3rd bullet point in the "Making the Decision: HTML or Web Server Controls?" section

"The Web page has lots of client-side JavaScript and that is referencing the control."

The resultant text reads as follows:

"The Web page has lots of client-side JavaScript that is referencing the control."

Art Bergquist  Nov 19, 2010 
Printed, PDF Page 77-78
p. 77 - Step 3; p. 78 - Sub-Step b of Step 4

In addition to the following reported by Microsoft Press: "Write" should be "WriteLine" ... On page 77, the code box under Sub-Step C of Step 4 contains a partialliy incorrect line of code.

Change:

System.Diagnostics.Debug.Write("HandlerName")

To:

System.Diagnostics.Debug.WriteLine("HandlerName")

I'm wondering if occurrences of "Write" should be replaced with "WriteLine" (2 occurrences) in Step 3 (p. 77) and (1 occurrence) in sub-step b of Step 4 (p. 78).

Art Bergquist  Nov 19, 2010 
Printed, PDF Page 88
Bullet point 17

The "1" in "17." is not aligned with the initial "1" of all the other bullet point #s ("11.", "12.", "13.", "14.", "15.", "16." and "18.").

It is slightly to the right and should be moved a little to the left to be aligned with the initial "1" of all the other bullet point #s ("11.", "12.", "13.", "14.", "15.", "16." and "18.").

Art Bergquist  Nov 30, 2010 
Printed Page 98
2nd-to-last sentence

I recommend replacing the word "where" with "whereas" in the 2nd-to-last sentence on the page.

Art Bergquist  Nov 29, 2010 
Printed, PDF Page 120
1st sentence of the description for the SelectedDates Calendar property

"DataTime" needs to be replaced with "DateTime" (switched the 4th letter from "a" to "e") in the 1st sentence of the description for the SelectedDates Calendar property:

"A collection of DataTime values that represent all of the dates that were selected by the user."

The corrected sentence reads as follows:

"A collection of DateTime values that represent all of the dates that were selected by the user."

Art Bergquist  Dec 03, 2010 
Printed, PDF Page 133
3rd sentence in the 4th paragraph

In the 3rd sentence in the 4th paragraph on p. 133:

"The Button controls were staggered within each View control to visually help identify the current active View control."

I'm wondering if it would be better to replace "current" with "currently".

The resultant sentence would read as follows:

"The Button controls were staggered within each View control to visually help identify the currently active View control."

Art Bergquist  Dec 03, 2010 
Printed, PDF Page 136
1st sentence of the 2nd-to-last paragraph

In addition to the following that was reported by Microsoft Press:

---------------------------------------------------------------------
Control class needs to be replaced with CompositeControl class
On page 136, the first sentence of the second to the last paragraph reads:

"The Wizard control inherits from the Control class, and the BaseWizardStep inherits from View, as shows in Figure 3-20."

It should read:

"The Wizard control inherits from the CompositeControl class, and the BaseWizardStep inherits from View, as shows in Figure 3-20."
---------------------------------------------------------------------

shouldn't 'BaseWizardStep' be replaced with 'WizardStepBase'?

Art Bergquist  Nov 22, 2010 
Printed, PDF Page 138
1st sentence (in the 1st paragraph) of the page

In the 1st sentence (in the 1st paragraph) of the page, I believe that "BaseWizardStep" should be "WizardStepBase":

"The BaseWizardStep contains the StepType property that can be set to one of the following values:"

The resultant sentence reads as follows:

"The WizardStepBase contains the StepType property that can be set to one of the following values:"

Art Bergquist  Dec 03, 2010 
Printed, PDF Page 138
All five (5) bullet points in the upper half of the page

I believe that the occurrence of "WizardStepType" in all five (5) bullet points in the upper half of the page should be replaced with "StepType".

Art Bergquist  Dec 03, 2010 
Printed, PDF Page 158
4th sentence in the 1st paragraph of the "Introducing Data-Bound Controls" section

In the 4th sentence in the 1st paragraph of the "Introducing Data-Bound Controls" section, please replace "FormsView" with "FormView" in the following sentence:

"Composite data-bound controls are classes that inherit from Composite-DataBoundControl, such as the GridView, DetailsView, and FormsView controls."

The correct sentence reads as follows:

"Composite data-bound controls are classes that inherit from Composite-DataBoundControl, such as the GridView, DetailsView, and FormView controls."

Art Bergquist  Dec 06, 2010 
Printed, PDF Page 173
1st sentence of the last paragraph on the page

Microsoft Press had reported the following (in the "Confirmed Errata" web page for this book):

UpperAlpha used in place of UpperRoman
On page 173, the first sentence of the last paragraph reads: "If the BulletList control is set to render numbers, you can set the BulletStyle to LowerAlpha, UpperAlpha, LowerRoman, and UpperAlpha fields." It should read: "If the BulletList control is set to render numbers, you can set the BulletStyle to LowerAlpha, UpperAlpha, LowerRoman, and UpperRoman fields."

In addition to the above error, "BulletList" needs to be replaced with "BulletedList"; after making this correction as well as the above correction, the resultant(ly correct) sentence will read as follows:

"If the BulletedList control is set to render numbers, you can set the BulletStyle to LowerAlpha, UpperAlpha, LowerRoman, and UpperRoman fields."

Art Bergquist  Dec 06, 2010 
Printed, PDF Page 180
1st sentence in the "The CompositeDataBoundControl Control" section

I recommend replacing the 1st sentence in the "The CompositeDataBoundControl Control" section which currently reads:

"The CompositeDataBoundControl control serves as a base class for controls that contain other data-bound controls."

with the following sentence:

"The CompositeDataBoundControl control serves as an abstract base class for controls that contain other data-bound controls."

[since the CompositeDataBoundControl control is a "MustInherit" class]

Art Bergquist  Dec 06, 2010 
Printed, PDF Page 181
1st sentence in the 1st full paragraph

In the 1st sentence in the 1st full paragraph, please replace "FormsView" with "FormView" in the following sentence:

"The classes that inherit from CompositeDataBoundControl are FormsView, DetailsView, and GridView, as shown in Figure 3-38."

The correct sentence reads as follows:

"The classes that inherit from CompositeDataBoundControl are FormView, DetailsView, and GridView, as shown in Figure 3-38."

Art Bergquist  Dec 06, 2010 
Printed, PDF Page 216
Step # 7 in "Exercise 2: Add and Configure the Controls"

"upper-left" must be replaced with "upper-right"

On page 216, the first sentence in Step 7 uses an incorrect side to display the ObjectDataSource Tasks window.

Replace:

"7. Click the symbol in the upper-left corner of the ObjectDataSource2 control to display the ObjectDataSource Tasks window."

with:

"7. Click the symbol in the upper-right corner of the ObjectDataSource2 control to display the ObjectDataSource Tasks window."

Art Bergquist  Dec 23, 2010 
Printed, PDF Page 216
Step 5 in "Exercise 2: Add and Configure the Controls"

Replace "Choose Business Object" with "Choose a Business Object"

In Step 5 in "Exercise 2: Add and Configure the Controls", replace:

"5. In the Choose Business Object screen, select the CustomerList, and click Next."

with:

"5. In the Choose a Business Object screen, select the CustomerList, and click Next."

Art Bergquist  Dec 23, 2010 
Printed, PDF Page 216
Step 8 of "Exercise 2: Add and Configure the Controls"

Replace "Choose Business Object" with "Choose a Business Object"

In Step 8 in "Exercise 2: Add and Configure the Controls", replace:

"8. In the Choose Business Object screen, select the CustomerList, and click Next."

with:

"8. In the Choose a Business Object screen, select the CustomerList, and click Next."

ArtBergquist  Dec 23, 2010 
Printed, PDF Page 217
Step 9

Please replace Step 9:

"9.
In the Define Data Methods screen, choose the SelectSingle method for the Select tab. When prompted for the select parameter, set the Parameter Source to Control, the Control ID to GridView1, and set a Default Value of -1. On the Update tab, select the Update method. On the Insert tab, select the Insert method, and on the Delete tab, select the Delete method. Click Finish."

with:

"9.
In the Define Data Methods screen, choose the SelectSingle method for the Select tab. On the Update tab, select the Update method. On the Insert tab, select the Insert method, and on the Delete tab, select the Delete method. Click Next. In the Define Parameters screen, set the Parameter Source to Control, the Control ID to GridView1, and set a Default Value of -1. Click Finish."

ArtBergquist  Dec 23, 2010 
Printed, PDF Page 217
Step 12 of "Exercise 2: Add and Configure the Controls"

Step 12 of "Exercise 2: Add and Configure the Controls" currently reads as follows:

"12.
Click Edit Columns. Delete all the fields from the Selected Fields list except Select, Id, and Name."

Please append the short sentence "Click OK." to the end; the resultant step reads as follows:

"12.
Click Edit Columns. Delete all the fields from the Selected Fields list except Select, Id, and Name. Click OK."

ArtBergquist  Dec 24, 2010 
Printed, PDF Page 217
Step 15 of "Exercise 2: Add and Configure the Controls"

In Step 15 of "Exercise 2: Add and Configure the Controls":

"15.
Right-click the GridView and click AutoFormat. Select the Professional format and click OK."

please insert the text " (scheme)" after "format".

The resultant step reads as follows:

"15.
Right-click the GridView and click AutoFormat. Select the Professional format (scheme)" and click OK."

ArtBergquist  Dec 24, 2010 
Printed, PDF Page 217
Step 19 in "Exercise 2: Add and Configure the Controls"

Append " Click OK." to the end of Step 19 in "Exercise 2: Add and Configure the Controls":

"19.
Click the Id field and set the ReadOnly property to true."

The resultant step reads as follows:

"19.
Click the Id field and set the ReadOnly property to true. Click OK."

ArtBergquist  Dec 24, 2010 
Printed, PDF Page 217
Step 18 of "Exercise 2: Add and Configure the Controls"

Step 18 of "Exercise 2: Add and Configure the Controls" reads as follows:

"18.
Click Edit Fields and order the fields as Id, Name, City, State, and Phone."

You don't indicate what should be done with CommandField.

If it should be kept, then I recommend replacing the above text with the following text:

"18.
Click Edit Fields and order the Selected fields as Id, Name, City, State, Phone and CommandField."

If it should not be kept, then I recommend replacing the above text with the following text:

"18.
Click Edit Fields and order the Selected fields as Id, Name, City, State, and Phone. Remove CommandField."

ArtBergquist  Dec 24, 2010 
Printed, PDF Page 231
3rd line in the 3rd block of VB code on the page

The 3rd line in the 3rd block of VB.NET code on page 231 reads as follows:

salary.DefaultValue = 0.0

Since salary was defined as Decimal (on the line just above the above line), then a 'D' should be appended to the above line. The corrected line reads as follows:

salary.DefaultValue = 0.0D

Art Bergquist  Dec 16, 2010 
Printed, PDF Page 234-235
At the bottom of p. 234 or at the bottom of p. 235

Although the VB.NET and C# code both include the following text in a comment:

Load DataRow, replacing existing contents, if existing

and they both specify a LoadOption of "OverwriteChanges", there could be some confusion when the reader reviews the data in the grid pictured in Figure 4-2 at the bottom of p. 235. I recommend that something be mentioned/included:

1. at the bottom of p. 234. For example, the following sentence:

"The third example overwrites the information about Andrew Fuller in the second DataRow with information about Janet Leverling."

could be inserted between the following sentence:

"The next example adds a new DataRow by simply passing the values into the employee.Rows.Add method."

and the following sentence:

"Remember that nothing has been permanently stored to a database."

and/or:

2. at the bottom of p. 235. For example, the following sentence:

"Remember, per the code on p. 234, information about Andrew Fuller in the second DataRow had been overwritten with information about Janet Leverling."

could be inserted after the caption for (which appears below) Figure 4-2.

---------------------------------------------------------------------

BTW, the text in the comment in both the VB.NET and C# code is redundant:

"Load DataRow, replacing existing contents, if existing"

In response, I recommend replacing both occurrences of the above text on p. 234 with either following text:

"Load DataRow, replacing existing contents"

or the following text:

"Load DataRow, replacing contents, if existing"

Art Bergquist  Dec 16, 2010 
Printed, PDF Page 249
1st line on the page

On the first line of the page, there is an (or at least one) extra(neous blank) space between "Salary" and "DESC" in the following line:

view.Sort = "LastName ASC, FirstName ASC, Salary DESC"

The corrected line reads as follows:

view.Sort = "LastName ASC, FirstName ASC, Salary DESC"

Art Bergquist  Jan 06, 2011 
Printed, PDF Page 249
4th-to-last line of code in the C# section

In the 4th-to-last line of code in the C# section, there is at least one extra(neous blank) space between "Salary" and "DESC" in the following line:

view.Sort = "LastName ASC, FirstName ASC, Salary DESC";

The corrected line reads as follows:

view.Sort = "LastName ASC, FirstName ASC, Salary DESC";

Art Bergquist  Jan 06, 2011 
Printed, PDF Page 250
In the bullet point for the "Deleted" DataViewRowState

In the bullet point for the "Deleted" DataViewRowState:

"■
Deleted Retrieves the Original DataRowVersion of DataRow objects that have a RowState of Deleted."

the first occurrence of the word "Deleted" (viz., the one immediately to the right of the bullet [point]) should not only be italicized (as it currently is), it should also be bold-faced (to match the first word of all the other seven (7) DataViewRowState bullet points.

Art Bergquist  Jan 06, 2011 
Printed, PDF Page 263
1st sentence of the 2nd full paragraph

The 1st sentence of the 2nd full paragraph on p. 263 indicates that
"the single Company DataRow object is represented in the XML file by the single Company element, while the Employee DataRow objects are represented in the XML file by the repeating Employee elements."

The XML on p. 262, however, clearly shows that there are two (2) Company elements each of which have multiple, associated Employee elements:

XML
<?xml version="1.0" standalone="yes"?> <CompanyList>
<company> <Id>c2a464fb-bdce-498a-a216-fb844dfb05a5</Id> <CompanyName>Northwind Traders</CompanyName>
</company>
<company> <Id>aa40966c-18b7-451b-acea-237eaa5e08af</Id> <CompanyName>Contoso</CompanyName>
</company>
<employee> <Id>7ad2a59c-dd3a-483b-877c-b4fe0d0c9bbe</Id> <coId>c2a464fb-bdce-498a-a216-fb844dfb05a5</coId> <LastName>JoeLast</LastName> <FirstName>JoeFirst</FirstName> <Salary>40</Salary>
</employee>
<employee> <Id>343d98b0-e6aa-432d-9755-2c9501cd1ace</Id> <coId>c2a464fb-bdce-498a-a216-fb844dfb05a5</coId> <LastName>MaryLast</LastName> <FirstName>MaryFirst</FirstName> <Salary>70</Salary>
</employee>
<employee> <Id>d69af78c-8f2e-4d4f-9fd0-e0ebca6fccaa</Id> <coId>c2a464fb-bdce-498a-a216-fb844dfb05a5</coId> <LastName>SamLast</LastName> <FirstName>SamFirst</FirstName> <Salary>12</Salary>
</employee>
<employee> <Id>3cc2b9da-3087-47de-99eb-9f924f1edb0d</Id> <coId>aa40966c-18b7-451b-acea-237eaa5e08af</coId> <LastName>SueLast</LastName> <FirstName>SueFirst</FirstName> <Salary>20</Salary>
</employee>
<employee> <Id>c5804b95-c498-45ab-91b4-07fc50154f2a</Id> <coId>aa40966c-18b7-451b-acea-237eaa5e08af</coId> <LastName>TomLast</LastName> <FirstName>TomFirst</FirstName> <Salary>68</Salary>
</employee>
<employee> <Id>ad3ca5ac-eac9-4bec-88d2-5d32522abd41</Id> <coId>aa40966c-18b7-451b-acea-237eaa5e08af</coId> <LastName>MikeLast</LastName>

ISTM that there is a conflict between the statement on p. 263 and the reality on p. 262.

Art Bergquist  Jan 11, 2011 
Printed, PDF Page 268
2nd sentence in the "Deserializing a DataSet from XML" section

The 2nd sentence in the "Deserializing a DataSet from XML" section reads as follows:

"You can use the following code to read the schema file and the load the XML file:"

"and the load" in the above sentence needs to be replaced with "and then load".

The resultant sentence reads as follows:

"You can use the following code to read the schema file and then load the XML file:"

Art Bergquist  Jan 11, 2011 
Printed, PDF Page 275
2nd sentence in the 2nd bullet point in Exercise 1

The 2nd sentence in the 2nd bullet point in Exercise 1 reads as follows:

"Select DataSet, name the DataSet Sales.xsd, and click OK."

"OK" needs to be replaced with "Add".

The resultant sentence reads as follows:

"Select DataSet, name the DataSet Sales.xsd, and click Add."

Art Bergquist  Jan 11, 2011 
Printed, PDF Page 276
Step 2 in Exercise 2

In Step 2 in Exercise 2, I recommend -- for more readability and to eliminate possible confusion -- that you insert a space between ";" and "top" in the following text:

Style="z-index: 100; left: 55px; position: absolute;top: 15px">

The resultant text reads as follows:

Style="z-index: 100; left: 55px; position: absolute; top: 15px">

Art Bergquist  Jan 19, 2011 
321
Source Code

Change:

public class ProductControl : Control, INamingContainer

To:

public class ProductControl : CompositeControl, INamingContainer

Otherwise ProductTemplate is always null

Karin Gates  Mar 28, 2011 
Printed, PDF Page 322
1st sentence in the "Catching Provider Exceptions" section toward bottom of page

Please replace "provider specific" with "provider-specific" in the following sentence:

"All provider specific exceptions inherit from a common base class called DbException."

The resultant sentence reads as follows:

"All provider-specific exceptions inherit from a common base class called DbException."

Art Bergquist  Jan 20, 2011 
Printed, PDF Page 382
Step 8 (in Exercise 1)

Insert the text "file:" in between "Data" and "property" in the following sentence:

"On the Configure Data Source page, click the browse button for the Data property and browse to the CarList.xml file in the App_Data folder."

The correct(ed) sentence reads as follows:

"On the Configure Data Source page, click the browse button for the Data file: property and browse to the CarList.xml file in the App_Data folder."

Art Bergquist  Jan 21, 2011 
Printed, PDF Page 385
4th sentence in the 1st paragraph in the Case Scenario 1: Determining Ways to Update the Database"" section

The word "to" needs to be inserted in between the word "the" and the word "and" in the following sentence:

"For mileage, this data includes the date and the mile amount, and the and from locations."

The correct(ed) sentence reads as follows:

"For mileage, this data includes the date and the mile amount, and the to and from locations."

Art Bergquist  Jan 21, 2011 
Printed, PDF Page 415
In the VB.NET code

Please replace the three (3) occurrences of the following:

width="300px" runat="server">

with the following:

width="300px" runat="server">

(eliminated extra[neous] blank space before "runat").

Art Bergquist  Jan 22, 2011 
Printed, PDF Page 415
In the VB.NET code

Please replace the two (2) occurrences of the following:

<td >

with the following:

<td >

(eliminated the unnecessary blank space between "td" and ">").

Art Bergquist  Jan 22, 2011 
Printed, PDF Page 416
In the C# code

Please replace the three (3) occurrences of the following:

width="300px" runat="server">

with the following:

width="300px" runat="server">

(eliminated extra[neous] blank space before "runat").

Art Bergquist  Jan 22, 2011 
Printed, PDF Page 416
In the C# code

Please replace the two (2) occurrences of the following:

<td >

with the following:

<td>

(eliminated the unnecessary blank space between "td" and ">").

Art Bergquist  Jan 22, 2011 
Printed, PDF Page 420
Step 7 in Exercise 2

For consistency with the capitalization on p. 419, I recommend replacing the first sentence in Step 7:

"Try typing a bill-to address and clicking the Button control to copy the information to the ship-to address."

with teh following sentence:

"Try typing a Bill To address and clicking the Button control to copy the information to the Ship To address."

(capitalized "t" in both occurrences of "to address" and replaced both hyphens with a space)

Art Bergquist  Jan 25, 2011 
Printed, PDF Page 469
"JavaScript Client-Side Validation" section

In the "JavaScript Client-Side Validation" section at the bottom of p. 469, please replace "arguements" with "arguments":

a) in the following line:

function ValidatePassword(source, arguements)

b) and in the following line:

var data = arguements.Value.split('');

The resultant lines would read as follows:

function ValidatePassword(source, arguments)

and:

var data = arguments.Value.split('');

Art Bergquist  Feb 01, 2011 
Printed, PDF Page 470
Code section

In the code section on p. 470, please replace "arguements" with "arguments":

a) in the following line:

arguements.IsValid=false;

b) and in the following line:

arguements.IsValid=true;

The resultant lines would read as follows:

arguments.IsValid=false;

and:

arguments.IsValid=true;

Art Bergquist  Feb 01, 2011 
Printed, PDF Page 476
Step 5

In addition to what Microsoft reported WRT Step 5, viz.:

"to" should be "of"

On page 476, Step 5 contains an incorrect word.

Change:

"5. Set the TextMode property to txtPassword and txtConfirm to Password."

To:

"5. Set the TextMode property of txtPassword and txtConfirm to Password."

please also switch the formatting of "txtConfirm" from italics to boldfaced to match the boldfacing of "txtPassword".

Art Bergquist  Feb 01, 2011 
Printed, PDF Page 476
Figure 6-3

In Figure 6-3 (in Step 6), to make the text consistent with the instructions in Step 3, please remove the colon (":") from each of the following descriptions:

User Name:

Password:

Confirm Password:

Zip Code:

The resulstant descriptions read as follows:


User Name

Password

Confirm Password

Zip Code

Art Bergquist  Feb 01, 2011 
Printed, PDF Page 489
Step 1 in Exercise 1

To make the appearance consistent with other exercises, please boldface "WorkingWithSiteNavigation" in Step 1 in Exercise 1:

"Open Visual Studio 2005 and create a new Web Application project called WorkingWithSiteNavigation
using your preferred programming language."

Art Bergquist  Feb 01, 2011 
Printed, PDF Page 490
2nd sentence in Step 4 in Exercise 1

Please replace "xx-large" with "XX-Large" in the 2nd sentence in Step 4 (in Exercise 1) on p. 490:

Set the font size for the title to xx-large and center the title text.

The resultant sentence reads as follows:

Set the font size for the title to XX-Large and center the title text.

Art Bergquist  Feb 11, 2011 
Printed, PDF Page 502
3rd and 4th lines of the page

Please insert the word "field" between "form" and "within" in the following text found on lines 3 and 4 of p. 502:

"The following code sample demonstrates how view state adds data as a hidden form within a Web page?s HTML:"

The resultant text reads as follows:

"The following code sample demonstrates how view state adds data as a hidden form field within a Web page?s HTML:"

Art Bergquist  Feb 21, 2011 
Printed, PDF Page 506
5th-to-last line on the page

Please replace the more verbose:

' Encode the cookie in case the cookie contains client-side script

with the more compact:

' Encode the cookie in case it contains client-side script

Art Bergquist  Feb 21, 2011 
Printed, PDF Page 507
7th non-blank line on the page

Please replace the more verbose:

// Encode the cookie in case the cookie contains client-side script

with the more compact:

// Encode the cookie in case it contains client-side script

Art Bergquist  Feb 21, 2011 
Printed, PDF Page 585
In the "Content page" section

I'm thinking it would be more accurate to replace the following text:

"A content page defines the ContentPlaceHolder controls in a master page, essentially filling in the blanks. A content page is a standard .aspx file and is bound to the master page using the MasterPageFile attribute in the ?@ Page? directive."

with something like:

"A content page defines the Content controls which get inserted into a master page, essentially filling in the blanks. A content page is a standard .aspx file and is bound to the master page using the MasterPageFile attribute in the ?@ Page? directive."

[Review the differences between the 1st sentence in each ...]

Art Bergquist  Feb 28, 2011 
Printed Page 589
towards to bottom of page

At the page level You can use a page directive in each content page to
bind it to a master page, as in the following code example:

'VB

<%@ Page Language="VB" MasterPageFile="MySite.Master" %>

//C#

<%@ Page Language="C#" MasterPageFile="MySite.Master" %>

--

It must write "MySite.Master" with virtual path ("~/MySite.Master")

Anonymous  Oct 28, 2010 
Printed, PDF Page 593
2nd sentence of the 2nd full paragraph

Please replace "master attribute" with "MasterPageFile attribute" in the 2nd sentence of the 2nd full paragraph:

"However, the child master page also has a master attribute in the ?@ Master? declaration."

The resultant sentence reads as follows:

"However, the child master page also has a MasterPageFile attribute in the ?@ Master? declaration."

Art Bergquist  Feb 28, 2011 
Printed Page 610

aspnet_regsql.exe -Ap
please see MSDN option -A with backspace -A p

Anonymous  Nov 08, 2010 
Printed, PDF Page 845
1st two lines on the page

Shouldn't the following:

"D. Incorrect: The GetLastError method is a member of the Application object, not the Request object."

actually be:

"D. Incorrect: The GetLastError method is a member of the Server object, not the Application object."

?

Art Bergquist  Feb 22, 2011 
Printed, PDF Page 845
Chapter 8: Lesson Review Answer - 2. C.

Shouldn't the following:

"C. Correct: You can catch errors at the Page level using the Server.Error event."

actually be:

"C. Correct: You can catch errors at the Page level using the Application.Error event."

?

Art Bergquist  Feb 22, 2011 
Printed, PDF Page 848
Option C for Answer 2

"method" needs to be replaced with "methods" in the following text:

"C. Correct: Content pages can reference public method in the master page."

The resultant text reads as follows:

"C. Correct: Content pages can reference public methods in the master page."

(BTW, please delete my erroneous entry in which I indicated that the above error was on p. 858 whereas it's actually on p. 848 and then remove this parenthetical comment.)

Art Bergquist  Mar 02, 2011 
Printed, PDF Page 858
Option C for Answer 2

"method" needs to be replaced with "methods" in the following text:

"C. Correct: Content pages can reference public method in the master page."

The resultant text reads as follows:

"C. Correct: Content pages can reference public methods in the master page."

Art Bergquist  Mar 02, 2011 
Printed, PDF Page 883
Upper right-corner of the page (upper-half of the 2nd/right-most column)

Please replace the following text:

FormsView control, 181
FormView control, 194?199, 481
hierarchy, 195

with the following text:

FormView control, 181, 194?199, 481
hierarchy, 195

Art Bergquist  Dec 06, 2010