I am using WPF and C# and I wanted to know if there is a known method to close or better refresh a parent window after on_click (save) from the child window?
Thank You
Neo
Close or refresh parent window
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
jalajakshi p7 pointsPosted Apr 19, 2009, 9:30 PM EDT
In the codebehind use this code in onclick of button
ClientScript.RegisterClientScriptBlock(this.GetType(), "ClosePopUp","window.close();window.opener.form1.submit();", true);
Thanks,
Jalajakshi