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
 
Back
Top