<asp:Button ID="btnClose" OnClientClick="self.closepopup(); return false" Text="Close"
OnClick="SomeServerSideEvent"
protected void SomeServerSideEvent(Object sender, EventArgs e) { // Do whatever you want to do. }
Button_Click() { Response.Write("<script>window.close();</script>"); Response.End(); //reset the necessary controls }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)