I've Answered this Question many Times
Good Luck`- http://forums.asp.net/t/1797441.aspx/1?Refresh+Page+after+POPUP+Loads
- http://forums.asp.net/t/1799738.aspx/1?Reload+after+POPUP
This is your Simple Popup Page on any Button click event.
And This is your Popup.aspx and Close Button Event
string popup = ""; ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "PopupScript", popup, false);
And This is your Popup.aspx and Close Button Event
protected void CloseButton_Click(object sender, EventArgs e) { CloseButton.Attributes.Add("onclick", "return windowclose();"); ClientScript.RegisterStartupScript(GetType(), "CloseScript", "window.opener.location.reload(); window.close();", true); }
0 comments:
Post a Comment