Iframes in aspx page.

  • Thread starter Thread starter Lubo¹ ©lapák
  • Start date Start date
L

Lubo¹ ©lapák

Hi,
I have two iframes in Webform, for example "i1" and "i2". Can I, after
clicking on button (this button is runat="server") in "i1", invoke reload or
redirect in "i2"?
How can i do it?

Thanks Lubos
 
When you render the page after the postback (caused by the button click)
simply render the iframes with the new address...
 
But after click on button in "i1" is render only iframe "i1" and the the
whole page isn't render, so the iframe "i2" isn't render.
 
Lubo¹ ©lapák said:
But after click on button in "i1" is render only iframe "i1" and the
the whole page isn't render, so the iframe "i2" isn't render.

This is just a guess, by adding "target='_top' " to the button should
cause the response to apply to the whole window and not just the iframe.
 
But the button don't have attribute "target" ?
Or how can I set the attribut "target"? Please example.

James Curran said:
Lubo¹ ©lapák said:
But after click on button in "i1" is render only iframe "i1" and the
the whole page isn't render, so the iframe "i2" isn't render.

This is just a guess, by adding "target='_top' " to the button should
cause the response to apply to the whole window and not just the iframe.

--
Truth,
James Curran [erstwhile-MVP]
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
 

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

Back
Top