OnInit method of a System.Web.UI.Page Class

  • Thread starter Thread starter Raymond Du
  • Start date Start date
R

Raymond Du

Hi,

I have a newbie question, every time I add a web page into a web application
using VS.Net there is a method automatically generated by VS.Net:

override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}

I look into Page class more than 10 times already, there is no OnInit method
defined.

Question:
(1) If base class has no such method defined, what will base.OnInit(e) do?

TIA
 
Back
Top