I am trying to achieve following.
1. A link on a parent page will open a new child pop-up.
2. In child pop-up, user enters some data and click save.
3. A data will be saved to databse and pop-up would be closed. A main parent window would be refreshed and conetents entered in a child pop-up would be displayed on a parent page.
I tried following:
btnClose.Attributes.Add("onclick", "javascript:opener.location.reload(true);self.close();");
Problem is when I click the close button of popup window, it asks whether to resend or cancel the request to parent page. Which i want to avoid.
Any solution?
Thanks in avance