ASP.NET 2.0 changed the default designing/compilation model.
By default AutoEventWireup is set to true, which instructs compiler to automatically
attach event handlers from the code behind using naming
convention, so when you write:
protected void Page_Load(...)
{
}
it automatically puts this code in behind the scenes:
this.Load += new EventHandler(this.Page_Load)
This was previously done by InitialiseComponent() (i believe).
Nonetheless, the answer is to write the code yourself:
protected void Page_Init(object sender, EventArgs e)
{
// do the bartman
}