By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,386 Members | 1,751 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,386 IT Pros & Developers. It's quick & easy.

Page_Load fires twice with Mozilla

P: n/a
Ed
Has anyone seen this one? I have a situation where code in my page_load event
is firing twice for mozilla firefox users. Everything is fine in IE6. I set
breakpoints and verified.
The second time the page_load fires in mozilla, I checked the IsPostback to
verify that it is still false.
What causes this behavior?
Thanks,
Ed

Nov 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi Ed,
check to see if you have AutoEventWireup set to true in the Page
directive

Kumar

"Ed" <ed*******@noemail.noemail> wrote in message
news:C7**********************************@microsof t.com...
Has anyone seen this one? I have a situation where code in my page_load event is firing twice for mozilla firefox users. Everything is fine in IE6. I set breakpoints and verified.
The second time the page_load fires in mozilla, I checked the IsPostback to verify that it is still false.
What causes this behavior?
Thanks,
Ed

Nov 18 '05 #2

P: n/a
Ed
Hi,
I currently have it set to false.

Thanks,
Ed

"Kumar Reddi" wrote:
Hi Ed,
check to see if you have AutoEventWireup set to true in the Page
directive

Kumar

"Ed" <ed*******@noemail.noemail> wrote in message
news:C7**********************************@microsof t.com...
Has anyone seen this one? I have a situation where code in my page_load

event
is firing twice for mozilla firefox users. Everything is fine in IE6. I

set
breakpoints and verified.
The second time the page_load fires in mozilla, I checked the IsPostback

to
verify that it is still false.
What causes this behavior?
Thanks,
Ed


Nov 18 '05 #3

P: n/a
> Hi,
I currently have it set to false.

Thanks,
Ed


I'm seeing the same thing. I have AutoEventWireup also set to false,
yet I see Page_Init and Page_Load getting called twice in Firefox. In
IE, it only gets called once. A bug in Firefox?
Nov 18 '05 #4

P: n/a
Ed
Actually, I found the answer to my own problem. It occured for me in the
html. We had an external javascript file included in the control we used for
the page header. Under certain situations, it would be written out as double
quotes without the file name. That caused the page to load twice. I assure
you that was not an easy find.

I have heard other instances of similiar problems with malformed html or css.

Hope that helps.

"Greg Johnson" wrote:
Hi,
I currently have it set to false.

Thanks,
Ed


I'm seeing the same thing. I have AutoEventWireup also set to false,
yet I see Page_Init and Page_Load getting called twice in Firefox. In
IE, it only gets called once. A bug in Firefox?

Nov 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.