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
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