p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Visual C# 2005 (http://p2p.wrox.com/forumdisplay.php?f=222)
-   -   Chapter 18, EventRegistrationWeb application error message (http://p2p.wrox.com/showthread.php?t=81665)

cjkoontz November 22nd, 2010 04:00 PM

Chapter 18, EventRegistrationWeb application error message
 
Hi. I am getting an error in the default.aspx.cs class. It appears to be coming from the line of code that reads --

RegistrationInformation ri = PreviousPage.RegistrationInformation;

Error 1 'System.Web.UI.Page' does not contain a definition for 'RegistrationInformation' and no extension method 'RegistrationInformation' accepting a first argument of type 'System.Web.UI.Page' could be found (are you missing a using directive or an assembly reference?) . . .

When I key this statement into the VS editor, RegistrationInformation does not come-up as an IntelliSense option for PreviousPage.

Have followed the instructions for putting together the code through page 593. I have checked the errata and fixed the code on page 592.


All times are GMT -4. The time now is 06:31 PM.

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