page_load triggers 2 times

  • Thread starter Thread starter Regfellow
  • Start date Start date
R

Regfellow

Hi,

Ive created a webform in asp.net.

When the page is called the page_load event get called 2 times before
the page is loaded.

I remember i have had this problem now and then from the start of .net
framework era and it SUX big time.

Anyone know how to solve the problem, is it a common problem?

The only thing i do is set two double variables to 0.0 in it.

Help would be much appreciated!

Best,

Mats.
 
I don't think this is a problem with .NET but most likely in your code.
Want to post what you have?

Shaun McDonnell
 
There is alot of click events and methods in the page... but the
Page_Load looks like this:

/// <summary>
/// Page load event
/// </summary>
private void Page_Load(object sender, System.EventArgs e) {

this.dblWestEast = 0.0;
this.dblNorthSouth = 0.0;

}

Hope it helps you! ; )

Sorry about my irony, but is there anything that page_load depends on?
what can make it to load 2 times? ive deleted the bin and temp files
and rebuild the project...
 

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

Similar Threads


Back
Top