473,563 Members | 2,904 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Iframe refeshing Source URL every time page is displayed

Hi all,
I am trying to add some advanced search tools to a standard HTML website by
using an Iframe whose SRC attribute points to a remote ASP.NET site which
contains the advanced search tool (listlocator.as px). It works fine, except
everytime the user clicks "Search" from any other page in the site thay need
to wait until the ASP.NET search tool initializes every time. Even if the
user clicks the Back or Forward buttons to get to the Search page, the
Iframe re-loads the listlocator.asp x every time even if the page has already
been visited and the search tool was already loaded.

The page within the Iframe takes a few seconds to load so I am placing a
"Please Wait..." image which becomes hidden when the Iframe completes
loading of the page.

Is there a way to allow the Iframe to display the listlocator.asp x page in
it's most recent state without reloading it every time which becomes
annoying. I have done some reading about Caching on the Server side, but I
don't know if this will help. Is there anything that can be done on the
Browser side or in the HTML Iframe declaration such that if the Iframe
aldready contains the listlocator.asp x page it is not reloaded? Maybe Iframe
is not the way to go here, but it beats the heck out of re-writing a
complicated search tool.

Thanks for any help....

See the code snipped from the page below.

<iframe
src="http://localhost/manager/listlocator.asp x?mgr=LCS&site= listdata"
onload="iframe_ onload();"></iframe>
<script type="text/jscript" language="javas cript">
function iframe_onload()
{
var theWaitCell = document.getEle mentById('Wait1 ');
theWaitCell.sty le.visibility = "hidden";
}
</script>

Thanks for any help....again
Aug 18 '08 #1
0 1403

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7201
by: Pete Wason | last post by:
Hiall! I have a demo viewer page for javascript stuff that has three buttons "DEMO" "HTML" and "JSCR", and an IFRAME called 'viewer'. Initially, the IFRAME gets loaded with the actual demo page, ie., viewer.location = dName + '.html'; where dName is the filename of the demo without extension.
3
4164
by: Sascha Möllering | last post by:
Hi, I have a website displayed in an iframe with anchors (it`s a navigation tree) an every time I click on an object in my navigation tree, the whole website moves. Is it possible to move the navigation tree in the iframe without the website? Thank you,
24
5221
by: ej1002 | last post by:
Hi I have developed a Windows Application(C# Windows Form) which will get the IFrame Source of the page it is navigating using Webbrowser Control. Now I want do this in ASP.Net web application(C# Web Form). Is there any other method through which I will be able to access the IFrame Source of the page I am navigating to. Also I need to click...
1
2388
by: TS | last post by:
I have a page that executes a method that takes a long time and i have an iframe that displays an progress bar animated gif while the page is running. The first time you hit it, it doesn't animate. The second time you try, it starts animating. I can be on my aspx page and onload have the iframe navigate to the correct page, so i would think...
3
8126
by: Angel | last post by:
How do I get the reference of the IFrame from the asp.net webpage that is being displayed within that IFrame? In other words I have an IFrame in my page. Within that IFrame Set the source to a different asp.net page. I want on that page that is within the IFrame to be able to access the IFrame object. How can that be done? Besides the...
26
3210
by: shlomi.schwartz | last post by:
using this example: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Test Page</title> </head>
1
2248
by: syshex | last post by:
Hi everyone ! I'm really new to javascript, and am possibly aiming quite high already, but still I feel I just satisfy my curiosity and ask you all this question. I've got this really really simple page which has an Iframe with id="AAA" and a div section with id="BBB" . I've also got a link that is points to void but onclick action...
12
11125
by: mistral | last post by:
Can anybody tell me how to get source code of page in iframe? (popup window is clickable image). When I right click on this popup border to view source, i see just as follows <html> <head> <title>New offer!</title> </head> <body style="margin-left: 0%; margin-right: 0%; margin-top: 0%;
7
6719
by: nicknack | last post by:
Hi. I have a strange problem wuth IFRAME. I have page aaa.aspx with an IFRAME that contain page bbb.aspx. page bbb.aspx sometimes redirect him self to page ccc.aspx. The problem is that after I loaded the aaa.aspx page I want to know what page do I see in the IFRAME. (aaa or bbb).
0
7665
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7642
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.