Pre_Init for User Control is not firing in ASP.NET 2.0

M

Michael

Hi,

I'm using ASP.NET 2.0. I have code like:
protected void Page_PreInit(object sender, EventArgs e)
{
// do something
}

The Page_PreInit is not firing. Is it supposed to work for User Control? I
should not need to explicitly wire the event, do I? I don't for Page_Load
for example, and Page_Load works just fine.

Thanks,
Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,248
Latest member
MagdalenaB

Latest Threads

Top