Wrox Programmer Forums
|
BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9
This is the forum to discuss the Wrox book Professional ASP.NET 2.0 Special Edition by Bill Evjen, Scott Hanselman, Devin Rader, Farhan Muhammad, Srinivasa Sivakumar; ISBN: 9780470041789
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 1st, 2006, 05:28 PM
Authorized User
 
Join Date: Sep 2006
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default Errata page 144 listing 5-9

This is for Errata.
But anyways if you can't discover the problem here the fix.
Professional ASP.NET 2.0 Page 144 Listing 5-9 The Click event for the ImageButton control
c# and vb has the same "error"

[c# code] as shown in the book:

protected void ImageButton1_Click(object sender,System.Web.UI.WebControls.ImageClickEventArgs e)
    {
         //i was here:)
    }

//--------------------------------------------------------------------

Should be like this:

protected void ImageButton1_Click(object sender,System.Web.UI.ImageClickEventArgs e)
    {
       //Example from me...
       Response.redirect("http://p2p.wrox.com");
    }

NO need in .WebControls namespace!!!
You'll find ImageClickEventArgs under .UI namespace.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Errata for Page 235 corncrake BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 4 June 30th, 2008 04:51 AM
ERRATA on page 388 NadAf BOOK: Ivor Horton's Beginning Visual C++ 2005 0 August 15th, 2007 09:40 PM
Errata Page 664 Chrisull BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 November 24th, 2005 08:36 AM
Errata Page bonehead BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 June 27th, 2004 08:45 AM
No Errata Listing tialoc JSP Basics 6 August 6th, 2003 08:46 AM





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