Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

avoid refresh on server side 1

Status
Not open for further replies.

mthrawn

Programmer
Aug 17, 2000
42
GB
I've heard a dirty rumour that when scripting on server side, an ugly refresh (you know what I mean!!) can be avoided by passing the data into an iframe and refreshing within the iframe. Hence the data still refreshes, but you don't see it, all you get is a nice client-side re-entry of data. Does anyone know how I would do this?
Matt
Tubedale Communications Ltd (Bristow-Solutions (Software Developer
 
Dear Matt,

First let me state that I am not endorsing this technique.

An IFrame ( IE only )can be dynamically loaded from an ASP page. It can also be accessed in client script from the parent frame.

So basically you can use an invisible IFrame as a round-trip vehicle then use client script to move the data from the IFrame to the parent frames elements, OR...

You can use visible IFrames to contain all or part of your user input elements and again perform the server trips within the IFrames.

Hope this helps
-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top