Page_Load event executing multiple times?

  • Thread starter Thread starter Alex D.
  • Start date Start date
A

Alex D.

Is there any way that the Page_Load event is being executed more than one
time without being explicitly called? ...I think is happening to me..

Thanks,
Alex.
 
It happens when defining the event handler is done twice by the
autowireupevent directive and by your code (adding the handler explicitely
or using the VB.NET Handles clause).
 
Alex,

This may happen if you have "AutoEventWireup=True" in your .aspx file.

Eliyahu
 

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

Back
Top