Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Kill a browser?
Message
 
À
15/11/2006 17:15:19
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
ASP.NET
Divers
Thread ID:
01170093
Message ID:
01170234
Vues:
7
>>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform