Friday, November 06, 2009

A simple way to add OnUnload to the body of a page

No comments:
Page.ClientScript.RegisterStartupScript(typeof(string),"AutoCloseWindow","window.onunload = function () { window.opener.location.href = window.opener.location.href; window.close(); };", true); ...
Read More