Hi there
each web form is a class itself that inherits System.Web.Page class
public partial class Default : Page{
}
so you can change this default inheritance:
Code:
public class myPage : Page
{
// do something here like:
public myPage(){ //ctor
this.Load += load();
}
private void load(object sender, EventArgs e){
// some code here to be executed on Page_Load
}
}
public partial class Default : myPage
{
}