View Single Post
  #1 (permalink)  
Old November 22nd, 2010, 04:00 PM
cjkoontz cjkoontz is offline
Authorized User
Join Date: Dec 2006
Location: Berkeley, CA, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Question 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.
Reply With Quote