I am attempting to link the OnInit event to my axp.net page in Visual Studio 2005 and have tried numerous methods. It appears that I am supposed to have a method declaration as follows:
void
Page_OnInit(
object sender,
EventArgs e)
(This is a copy of the Page_Load declaration with the protected keyword removed.)
However, the code inside this method never gets executed. This is pretty frustrating! Anyone have any ideas why this does not work or what the correct syntax would be?
Thanks.
Guinn