Refresh Parent Datasource when called from window.open command in EP AX

Use this code in child close button . It will refresh the Parent Page,

ScriptManager.RegisterStartupScript(this, this.GetType(), “CloseWindow”, “window.close(); if (window.opener && !window.opener.closed) { window.opener.location.reload(); }”, true);