Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Control a page closed!!
Message
From
19/12/2006 10:51:07
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
18/12/2006 13:31:40
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01178633
Message ID:
01178877
Views:
15
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform