Posted on: 5/9/2014 10:41:00 AM | Views : 218

Hi
am using list view to display records from session .
in listview i have edit button when click on edit button a popup window is opening from serverside.
closed the popup window from script side.
When closing the popup window the parent page was not refreshing.
how to refresh parent page.??

ClientScript.RegisterStartupScript(this.GetType(), "newWindow", "<script>window.open('mypage.aspx?Email= " + MailID + "&RowIndex=" + i + "','Mypage','height=500px,width=400px,resizable=yes,scrollbar=yes,toolbar=no,menubar=no');</script>");    this is in parent window.

JS:
 function RefreshParentPage() {             window.close();             window.parent.location.href = window.parent.loca ...

Go to the complete details ...