467,925 Members | 2,018 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

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.

<script type="text/jscript" language="javascript">
function iframe_onload()
var theWaitCell = document.getElementById('Wait1');
theWaitCell.style.visibility = "hidden";

Thanks for any help....again
Aug 18 '08 #1
  • viewed: 1231

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Pete Wason | last post: by
3 posts views Thread by Sascha MŲllering | last post: by
3 posts views Thread by Angel | last post: by
26 posts views Thread by shlomi.schwartz | last post: by
1 post views Thread by syshex | last post: by
12 posts views Thread by mistral | last post: by
7 posts views Thread by nicknack | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.