J
jbot
Here is one more scenario where the page load event can fire more than
once:
I had problem with pageload firing twice for an ascx control. This
was on a project that was upgraded from asp.net 1.1 to 2.0. I finally
figured out that for some reason, the pageload event for that ascx had
the following signature:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load, Me.Load
By removing the , Me.Load the problem was resolved.
It took a long time to find this, so I hope this helps someone out
there
JB
once:
I had problem with pageload firing twice for an ascx control. This
was on a project that was upgraded from asp.net 1.1 to 2.0. I finally
figured out that for some reason, the pageload event for that ascx had
the following signature:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load, Me.Load
By removing the , Me.Load the problem was resolved.
It took a long time to find this, so I hope this helps someone out
there
JB