473,466 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Create 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.aspx). 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.aspx 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.aspx 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.aspx 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.aspx?mgr=LCS&site=listdata"
onload="iframe_onload();"></iframe>
<script type="text/jscript" language="javascript">
function iframe_onload()
{
var theWaitCell = document.getElementById('Wait1');
theWaitCell.style.visibility = "hidden";
}
</script>

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

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

Similar topics

5
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...
3
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...
24
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#...
1
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....
3
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...
26
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
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...
12
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>...
7
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.