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.
| Version |
Location |
Description |
Submitted By |
| Safari Books Online |
6.5
paragraph 27 |
"Type in some text on the page, select it, and apply the paragraph style to it by selecting "Paragraph <p>" from the Block Format drop-down in the Style Application toolbar (indicated in Figure 6-5)."
The drop down list is found on the Formatting toolbar rather than the Style Application toolbar as stated.
|
Anonymous |
| Safari Books Online |
11.9
Putting it all together |
If you run the code, add an item to the cart and then delete it you get error Incorrect syntax near ')'. on line
Line 68: gvCart.DataBind()
Code seems the same if you type it out or download the code examples.
|
Anonymous |
| Printed |
Page 19
3 |
The tip indicates that HTML server controls are not commonly used and won't appear in this book.
That is incorrect- on p.53 you actually do create an HTML server control as indicated in the third paragraph. It just stood out to me.
|
Todd Kleinhans |
| Printed |
Page 28
Top |
The sample C# (and VB for that matter) code I downloaded for example 2-1 does not work like the book implies. I had to add the if-else logic to the code to get the desired behavior. When I attempted to use the downloaded code it complained about the fact that those button's don't exist on the page. I ended up with:
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
lblFirstPageLoad.Text = DateTime.Now.ToString();
}
else
{
lblPostBackPageLoad.Text = DateTime.Now.ToString();
}
}
//protected void btnPartialUpdate_Click(object sender, EventArgs e)
//{
// lblPartialUpdate.Text = DateTime.Now.ToString();
//}
//protected void btnOtherPartialUpdate_Click(object sender, EventArgs e)
//{
// lblOtherPartialUpdate.Text = DateTime.Now.ToString();
//}
}
which works as desired.
|
Grayson |
| Printed |
Page 71
7th paragraph, line 2, 2nd word |
reads "just leave drag a..."
should read "just drag a..." with the word "leave" removed.
|
John Bair |
| Printed |
Page 81
Line 3 and 4 of the code in Example 3-3 |
Dear O'Reilly,
First, your book is extremely well written!
While going through your code on Page 81,
I am converting from VB to C#.
I got errors while accessing the history point in the
History object.
I got red wavy lines under the "State" occurances.
------ here is my code:
protected void ScriptManager1_Navigate(object sender, HistoryEventArgs e)
{
String strRadioButtonList = String.Empty;
if ((e.State("RadioButtonList") != null))
{
strRadioButtonList = e.State("RadioButtonList");
}
------- and here is my syntax error:
Error 1 Non-invocable member 'System.Web.UI.HistoryEventArgs.State' cannot be used like a method. C:\Documents and Settings\Administrator\Desktop\407\AJAXHist\Default.aspx.cs 32 16 C:\...\AJAXHist\
------ I am running Visual Web Developer 2008:
Visual Studio 2008
Version 9.0.30729.1 SP
After downloading your zipped code, I couldn't find the example I was doing on Page 81. Is this Exercise 1, 2, 3, or 4? Or is part of the adventure works project?
Sorry for being confused,
tiM:)
|
Anonymous |
| Printed |
Page 103-104
Bottom of Page 103, continuing on to Page 104 |
Section on AJAX CollapsiblePanelExtender:
#1) All of the controls for this example were placed after the </div> tag...is that correct? (I chose to place the </div> tag after the controls).
#2) Upon execution, the ProductInfoHeader and Toggle start off OK
with the "expand" image and "Product Information" (and no ProductInfo)
> then 1st click, image changes to "collapse" but the ProductInfo display does not appear
> then 2nd click, image changes back to "expand" but the ProductInfo now appears
> this continues on with the toggle and ProductInfo display being out of sync
|
Anonymous |
| PDF |
Page 182
5th line |
The RequiredFieldValidator ensures the user provides a value for your control, or in the case of drop drop-down lists, that the user picks something other than the default value.
In line 2 above there is an extra 'drop' it should read
The RequiredFieldValidator ensures the user provides a value for your control, or in the case of drop-down lists, that the user picks something other than the default value.
|
Anonymous |
| Printed |
Page 327
6th paragraph |
I have successfully followed every chapter in this book up to Chapter 9. At the very start where I am instructed to:
Select Websit -> ASP.NET Configuration.
Click on Security tab
I do not get the page that's shown in figure 9-1 (as the book says). Instead I get the following message:
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.
The following message may help in diagnosing the problem: Unable to connect to SQL Server database.
I clicked the button to "Choose Data Store" and tried both links:
Select a single provider for all site management data
Select a different provider for each feature (advanced)
I eventually ended up with an error message similiar to the following:
Could not establish a connection to the database.
If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider.
I am using SQL Sever express 2005 and as mentioned I have successfully done every chapter 1 through 8. I have not attempted any of the Exercises at the end of any of the chapters.
|
Anonymous |
| Printed |
Page 389
Line 3 inside code |
font-family:Arial;Helvetica; sans-serif;
should be
font-famity:Arial, Helvetica, sans-serif;
The options are separated by commas and a semicolon should appear only at the end.
|
Anonymous |