I’m using VS2010 and I’m going through some examples in my book and I’m trying to find the preInit method. I seem to recall in VS2008 for VB.Net all the Page LifeCycle methods were in the upper right hand side drop down for the “Page” element (upper left hand side).
Like I said I’m using VS2010 and in C#. In my upper left drop down all I see is _Default. The only PLC event I see is Page_Load. Do I have to manually type out the preInit method or is there a way to get it to auto populate like I’ve seen in VB using 2008?

I followed Kirill answer and it did everything he said it would. However, this is what it produced (Default.aspx is the name of the page I’m using):
private void _Default_PreInit(object sender, EventArgs e)
{
...
}
When I put a break point in there, it never got into that code block and the code was never run…
However, when I manually wrote it out using the following:
protected void Page_PreInit(object sender,EventsArgs)
{
...
}
The break point and the code in that block worked!
Any ideas?
I found then answer to my question. I’m studying for the MCTS 70-515 exam and on Chapter 3 (pg.111) in the “Understanding the ASP.Net Life Cycle and Handling Events lesson I read the following paragraph:
Adding a C# Event Handler
“The code editor for C# also has an event handler drop-down list. However, it only contains access to events you have already provided handlers for. The C# environment provides a tool for wiring up control events, but it does not provide such a tool for the Page events. For these you have to code the event handler manually.“
However, in a VB.Net web side, you get what I was originally describing with the 2 drop downs.