469,903 Members | 2,196 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

Page_Load fires twice with Mozilla

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
4 1577
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
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
> 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
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.

Similar topics

7 posts views Thread by Jay Douglas | last post: by
14 posts views Thread by V. Jenks | last post: by
3 posts views Thread by doobdave | last post: by
4 posts views Thread by Seraph | last post: by
reply views Thread by pat.allan | last post: by
1 post views Thread by =?Utf-8?B?TWlrZXkgQmFieQ==?= | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.