page_load triggers 2 times

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

Shaun McDonnell

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

Shaun McDonnell
 
R

Regfellow

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


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top