OnInit method of a System.Web.UI.Page Class
From: Raymond Du (rdrd_at_yahoo.com)
Date: 04/28/04
- Next message: Pravin A. Sable: "Re: Operation must use an updateable query."
- Previous message: neubs007: "copy paste deployment"
- Next in thread: bruce barker: "Re: OnInit method of a System.Web.UI.Page Class"
- Reply: bruce barker: "Re: OnInit method of a System.Web.UI.Page Class"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Apr 2004 16:26:41 -0700
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
- Next message: Pravin A. Sable: "Re: Operation must use an updateable query."
- Previous message: neubs007: "copy paste deployment"
- Next in thread: bruce barker: "Re: OnInit method of a System.Web.UI.Page Class"
- Reply: bruce barker: "Re: OnInit method of a System.Web.UI.Page Class"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|