Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Kill a browser?
Message
 
To
15/11/2006 17:15:19
Keith Payne
Technical Marketing Solutions
Florida, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01170093
Message ID:
01170234
Views:
6
>>Is there a VB.NET command for killing the browser and the page your on?
>>
>>me.dispose() isn't doing it in the click for the image button.
>>
>>TIA
>
>Stephen,
>
>No, there is no VB.NET command for shutting down the browser. There is a javascript command though - window.close(). You can put it in the onClick attribute of the button.

Thanks.
'Javascript to close this sucker down
        Dim popupScript As String = "<script language='javascript'>  window.close() </script>"
' Run that java
        Page.RegisterStartupScript("PopupScript", popupScript)
Previous
Reply
Map
View

Click here to load this message in the networking platform