Close SharePoint Popup Window
Closes the Popup after your server side code executes.
{
string script = "<script language='javascript'>window.parent.location = window.parent.location; window.close();</script>";
if (!this.Page.ClientScript.IsClientScriptBlockRegistered("rKey"))
this.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "rKey", script);
}
reff: http://antoniolanaro.blogspot.in/2011/04/open-sharepoint-2010-modal-dialog-and.html
No comments:
Post a Comment