Page_Load

  • Thread starter Thread starter Alberto
  • Start date Start date
A

Alberto

The event page_load in an aspx page is fired twice. Does anybody know a
reason?

Thank you.
 
Most likely because you have AutoEventWireup="true", set it to false
<%@ ... AutoEventWireup="false" ...>
 
I found the source of the error: I had on the onInit event the call
InitializeComponet() twice.

Thank you.
 
Back
Top