Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 August 14th, 2006, 09:08 PM
Authorized User
Join Date: Jul 2006
Location: , , .
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.


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
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

All times are GMT -4. The time now is 08:17 PM.

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