0
I am in need of help to reload an iframe from within 2 iframes , already tried Parent.Document, Response.redirect, but does not occur what I request.
If I use Response.redirect(url), Iframe1 is reloaded within Iframe 3.
Se eu tento usar parent.document.getelementbyid ('iframe1') ou parent.document.getelementbyid ('iframe3') ou parent.document.getelementbyid ('<%=iframe1.ClientID.ClientID %>') ou parent.document.getelementbyid ('<%=iframe3.ClientID.ClientID %>'), é retornado nulo.
I’ve attached an image of what I’m trying to do.
I want when I click the button inside iframe3, iframe1 to be reloaded.
Ever tried to access two levels of "Parent"? Counting from the current open frame?
– ruy-fsalmeida
iframe from within 2 iframes! how is that? iframe 3 within iframe 2 that is within iframe 1 ?
– user60252
yes, because the platform is old, this was the fastest way to solve the problem.
– Carlos Henrique
This way when iframe 1 is reloaded iframe 2 and iframe 3 will also be reloaded, so just put the button in iframe 1. But if you want to do this from within iframe 3 see the answer I posted.
– user60252