>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only