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
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
jalajakshi pPosted Apr 20, 2009, 1:30 AM
In the codebehind use this code in onclick of button
ClientScript.RegisterClientScriptBlock(
this.GetType(), "ClosePopUp","window.close();window.opener.form1.submit();", true);Thanks,
Jalajakshi