Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Control a page closed!!
Message
De
19/12/2006 10:51:07
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
18/12/2006 13:31:40
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
01178633
Message ID:
01178877
Vues:
16
>Hi all, I´m working in a project using Visual Studio.Net 2003 and I´m trying to control when a user close all the page and then clear a data grid that the user uses when he is in the page.
>How can I control o How can I Know when he lives the page at all??
>
>Thanks for your help!!

Yuseff,

You cannot know when the user closes the browser or navigates away from your web site. In the same way, you do not need to clear a data grid. Once the browser has finished loading the page, the data grid doesn't exist on the server anymore. It's already unloaded from memory, so there is no reason to clear it.

If you want to prevent the datagrid from automatically reloading with the same data, just set the EnableViewState property of the grid control to False.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform