Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > IFrame Page_Load multiple time

Thread Tools

IFrame Page_Load multiple time

Posts: n/a
I have iframe inside Firstpage.aspx page like this...

<IFRAME id="IFrame_One" style="WIDTH: 1029px; HEIGHT: 425px"
name="IFrame_Documents" marginWidth="0" marginHeight="0"
src="" frameBorder="0"

When I open Firstpage.aspx, the page inside the iframe
(toLoadpage.aspx) loads twice (confirmed from logs, it's not just
graphical refresh). The frame literally loads the toLoadpage.aspx then
goes blank and loads again. This is happening with any aspx page, it
happens even if I link to any random site on the web. I can't afford to
have this page loading twice because that page is resource intensive
(needs lots of data from backends).

I have smartNavigation and AutoEventWireup as false in Firstpage.aspx
and I don't do anything with the iframe control in the codebehind. I
have tried making the iframe as runatserver and setting the "src" of
the iframe through code but the iframe still loads twice.

The weird part is this ONLY happens in IE but not in firefox.

Can somebody help me please, I tried googling without success.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Materpage page_load event fired after content page_load? rockdale ASP .Net 1 11-16-2006 06:59 PM
IFrame Page_Load multiple time magister ASP .Net 2 10-25-2004 08:56 AM
in VB.NET Page_load of a base class called after the derived class Page_load ? z. f. ASP .Net 0 10-19-2004 12:01 PM
Why does page_load fire twice when inheriting from a common overridable Page_Load bminder ASP .Net 1 02-23-2004 08:54 PM
Get form values from iframe (1) to iframe (2) inside a layer in iframe (1) Daedalous Javascript 3 01-16-2004 11:08 AM