Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 1st, 2006, 08:31 PM
Friend of Wrox
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 7 Try it Out Problems, pages 238,239.

Anyone have the same problems I'm seeing, and hopefully got a fix for them?

1. Page 238, Try It Out Line 7. (From the toolbar...). When you do this, the
image id will be "Image1" not "PictureImage" that the book has. So the problem
is, which should it be? However, I can't get it to run with either.

2. Page 239, Try It Out Line 8. (To get this to ...). Intellisense is not happy with the additional code the book wants you to add. But that aside, eventually I can get my code to look like the book's. However, The next sentence says to "Check your page in the browser..." It does not display an image -- just the little red X.

3. You can't go to the End folder and see how the author's coded the page for this
webpage because they changed the app and proceeded with more discussion. That is, they did not show code for this page at this moment in the development. Readers have no way to get this right. Rather, one just has to move on and bypass this point. This is a bummer because displaying an image in a DataList is going to be a very frequent need. Help!!


Feb 2, '06. Have spent 4 hours fiddling with various code variations on this problem -- trying anything to get it to work. Nothing works. Help. VV

Feb 2, '06. More error on page 238. Figure 7-24 shows Fixture ID as = 1, regardless of what the Picture ID does. When I follow the book (for the 8th time now!), Fixture ID changes right along with Picture ID, (1,1 2,2 etc.). Did anybody proof read these pages? Or am I in outerspace here? Help. VV

Feb 2, '06. More on this (after 2 days of trying to get it to work). I have had partial success in this as follows:
  (1) The id of the <asp:Image> control is "Image1", not "PictureImage". Make
      that change and
  (2) make sure via your Solution Explorer that the folder in your project is
      named "Images" (and not "PictureImage") as the book says, and your Images
      folder has all the .gif and .jpg files it needs:
  (2) Change the ImageUrl code line (as per the book)
        <asp:image id="PictureImage" runat="server"
        ImageUrl='<%# Eval("PictureURL", "~/MatchImages/{0}") %>'>
        <asp:image id="Image1" runat="server"
        ImageUrl='<%# Eval("PictureURL", "~/Images/AddToCart.gif") %>' >
   (3) This change will get something to show up in the place where an image
       ought to be. Not the right thing, but something.
   (4) Now all that remains is to get the correct image to display and I can't
       find any way to make that happen. What is that {0} all about anyway? Oh yes,
its discussed on page 243, after you need to know about it on previous pages.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page 239 Virtual Path Property normowen BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 November 15th, 2008 07:16 PM
Ch 7, p234-239: Printing a Document mk goody BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 0 July 17th, 2007 09:30 PM
Errata operand quote for page 238 proteus BOOK: Beginning Visual C++ 6 0 January 6th, 2006 12:15 PM
Chapter 9 Protecting Your Pages malhyp Dreamweaver (all versions) 1 August 20th, 2005 04:14 AM
Problems displaying web pages using IIS kathryne Classic ASP Professional 1 November 14th, 2003 12:48 PM

All times are GMT -4. The time now is 02:17 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.