close window

  • Thread starter Thread starter wilco
  • Start date Start date
Hi,

Use Page.RegisterStartupScript to embed client side java script
window.close(); you wont see the method with intellisense but it exist.

Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
 
Response.Clear()
Response.Write("<html><body onload=""window.close()""></body></html>")
Response.End()
 
Back
Top