467,145 Members | 1,091 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,145 developers. It's quick & easy.

OnInit firing twice???

Visual Studio 2003 web form problem using C#.

My Page_Load or OnInit routines seems to be called twice
for every post back to the server.

I think it's the Oninit thats being called twice, the
sequence of events is as follows

This bit of code is fired first-

override protected void OnInit(EventArgs e)

then the Page_Load is fired
then back to OnInit
then back to Page_Load

All pages have AutoEventWireup set to false.

Any ideas!

Nov 17 '05 #1
  • viewed: 1193

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Andy | last post: by
1 post views Thread by | last post: by
reply views Thread by gary lim | last post: by
4 posts views Thread by Seraph | last post: by
4 posts views Thread by Brian P | last post: by
4 posts views Thread by ShaneFowlkes | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.