I have observed an effect on my aspx pages that I just need to confirm. If I put in my .aspx code-behind file a custom function and after that, the code of my Page_Load event, asp.net ignores my Load event. This way:

Public Function MyFunction() As String

End Function

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub

But if I change the position between the two routines, the Load event runs. Is it really mandatory that my Page_Load be the first routine of my page?

Thanks,

Robert