How to refresh an iframe content

J

J-T

Hello,

I have an iframe which its scr is set to show a url (am image) .I am put
this iframe on a user control and I am loading that user control dynamically
to my Default.aspx.Now I need to refresh the content of the iframe every 2
minutes .I used a java script code in user conrol ,the referesh happens but
the content of the iframe dosen;t get changed,I mean it dosen;t get refresh!

How can I do that?

Thanks
 
G

Guest

Are you calling a page with an image as the SRC for the IFrame or just an
Image?
If it's the image directly you should be able to put a timer on the parent
page and have it kick off the Load() of the IFrame...
You'll have to show code if it's not working though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top