VB.NET:
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
In the above function, what is the usage of base.OnInit(e)? I have tried comment this.
VB.NET:
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
//base.OnInit(e);
}
It works normally. Moreover, When running the page, what thing triggers OnInit(EventArgs e) method?