Hmmm, to me it seems quite obvious that the Refresh function re-opens your child window. This was exactly what happened when you loaded your page the last time - and Refresh just repeats this loading process.
I'd set the parent window to a new location in order to have it "forget" its current state. Either by setting it to "opener.location=opener.location;" or if this doesn't work "opener.location=null; opener.location=opener.location;" or something.
"Raj" <phoenix_cbe> schrieb im Newsbeitrag news:2624d049.0306301001.33571e7dposting.google.c om...> Hi All,
> I have a problem with trying to refresh the parent window from
> child window in order to update data in the parent window.
> The sequence of events are
> 1) I click a button in the parent window to open a child window thru
> 2) I have some functionality in the child window that changes the data
> in the parent window.
> 3) I need to refresh the parent window on child window closing
> I read some posts here and I did window.opener.location.reload(true)
> and window.opener.reload(true). when I did this, IE came up saying
> "This page cannot be refreshed without resending information, Click
> retry to send the information again ...." and all that crap when I hit
> this the page is refreshed, but the ItemCommand of the parent window
> had the same event that opened the child window and it opened it
> So even when I close it, I end up with the same window again.
> Can someone please help me to refresh my parent window without this
> message box and I dont want to have the child window open again