Window.location.reload() and window.opener.reload behavior in IE7

Discussion in 'JavaScript' started by harshpshah, May 5, 2010.

  1. #1
    I have a window written in ASP.NET, which opens a popup window using window.open javascript method. On the popup window, I use window.opener.reload to refresh the parent page whenever I change any data in popup. However, when I postback the child (popup) window, a new window for the parent page appears, instead of simply refreshing the window. I even tried writing window.location.reload in the parent page itself, but that also creates a new window.

    Funny thing is I have several parent/child windows, they all use the practically the same javascript code, but only one of the parent/child windows is having this issue. The other just work fine. Also this only happens in IE7, in FF it works fine. Any ideas on this?
     
    harshpshah, May 5, 2010 IP