pb: Double Page_load execution

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Firstable, please excuse my approximative english which is not my native langage.

So, I post here because I encount the following problem on my ASP.NET application :

The Page_load method of the main application page is executed 2 times in a row.

I've created a simple test page and so it works for it, only one execution.

So I test my buggy page removing all the content of this page_load method, just one line (string debug="debug";) with a break point, and commenting application/session variables in global.asax.cs.
The problem is still here.

Does anyone have an idea about this?
Thank you.
 
See if you AutoEventWireUp Set to True in the ASPX Page. IF so remove it
as VS will try to rebind the events automatically. This is not required
unless you have not used VS.NET to design your application.

Regards

Trevor Benedict R
MCSD

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Back
Top