Refresh window?

  • Thread starter Thread starter LL
  • Start date Start date
L

LL

Hi,

I have grid's col defined as HyperLinkColumn,
I defined the Target as "_blank" to force open a new winodw.
When the new window is closing, how to refresh the parent window?

Thanks.
 
You'll need to add client-side event handler script in the new window

The new windows should have an "window_onclose" event handler, and then it
can call something like this
window.parent.refresh();
 
Before calling window.close(), you can do this window.opener.location.href =
window.opener.location.href .
 
Thanks for the help.

Can I this when I click on the "Edit" button(using datagrid)?
Because I want to open a detail form window.
Can I do this?
Thanks..
 
Back
Top