Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding Page_Unload
Message
De
05/11/2004 13:37:59
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Titre:
Understanding Page_Unload
Divers
Thread ID:
00958621
Message ID:
00958621
Vues:
65
I would like to understand how the Page_Unload() is suppose to work. According to some research, the following is said:

The Page_Unload event happens when the page has finished being processed by ASP.NET, and before it's sent to the browser.

If that is true, then, why doesn't the following work:
    ' Perform any cleanup here!  
    Sub Page_Unload(ByVal Sender As System.Object, ByVal e As System.EventArgs)
        Response.Write("<SCRIPT>")
        Response.Write("alert(""The page has finished loading."")")
        Response.Write("</SCRIPT>")
    End Sub
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform