rick_dangerous
June 17th, 2002, 04:34 AM
Hi everyone!
Simple question I just cann't find an answer in the .Net documentation: I want to have a build a button that closes the current browser window. My current implementation is an event handler behind the button that has the following code:
<code>
response.write("<script language=""javascript""> self.window.close() </script>")
</code>
Isn't there something easier?
Simple question I just cann't find an answer in the .Net documentation: I want to have a build a button that closes the current browser window. My current implementation is an event handler behind the button that has the following code:
<code>
response.write("<script language=""javascript""> self.window.close() </script>")
</code>
Isn't there something easier?