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