pb: Double Page_load execution

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.
 
T

Trevor Benedict R

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!
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top