Wrox Programmer Forums
BOOK: Professional Web Parts and Custom Controls ASP.NET ISBN: 0-7645-7860-X
This is the forum to discuss the Wrox book Professional Web Parts and Custom Controls with ASP.NET 2.0 by Peter Vogel; ISBN: 9780764578601
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Web Parts and Custom Controls ASP.NET ISBN: 0-7645-7860-X 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 August 14th, 2006, 09:08 PM
Authorized User
Join Date: Jul 2006
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to .MAttButler
Default New Chapter 3 Fix

Most of the example code in Chapter 3 has worked so far but I did find a bug in the code for AutoPostBack. In CreateChildControls() the call to GetPostBackEventReference() should be:
Me.Page.ClientScript.GetPostBackEventReference(Me, "MyControl") just like the book says.

Typically this method would be put to use in the Render() implementation but it works here (unless you use the overload that expects PostBackOptions and set the RegisterForEventValidation param).

More soon.

Similar Threads
Thread Thread Starter Forum Replies Last Post
please fix this function keyvanjan ASP.NET 2.0 Professional 4 September 18th, 2007 08:01 AM
Fix Error sgafar ASP.NET 1.0 and 1.1 Basics 0 May 30th, 2007 10:22 AM
Pleeeeeeeeeeeeeez fix it!!! Prashant Sahni C++ Programming 4 August 22nd, 2006 01:55 AM
Need xref Fix ~Bean~ SQL Language 2 October 5th, 2005 02:45 PM
Help! How do I fix this? missusfinz Crystal Reports 1 April 1st, 2005 12:27 PM

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