"King Coffee" <kc*****@hotmail.comwrote in message
news:D2**********************************@microsof t.com...
I popped up a new ASP.NET window.
Please clarify what you mean by an "ASP.NET window" - do you mean a browser
window...?
Within it I want to display an explicit close button. How .Net object can
I call to close this popup window programmatically?
Assuming you do actually mean a browser window, you can't close it with .NET
because that runs server-side. You'll need to use client-side JavaScript.
<input type="button" value="Close"
onclick="window.opener=null;window.close();" />
--
Mark Rae
ASP.NET MVP
http://www.markrae.net