473,395 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Has there Page unload event available?

ABC
Has there Page unload event available? I want to write some codes to
release memory. But I can not found the Page_Unload event.
Dec 20 '05 #1
3 1299
What are you doing? Unless you use unmanaged resources, you shouldn't worry
about releasing memory as long as you close resources etc properly after you
are done with them.

But yes, Page has Unload event.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"ABC" <ab*@abc.com> wrote in message
news:ua**************@TK2MSFTNGP14.phx.gbl...
Has there Page unload event available? I want to write some codes to
release memory. But I can not found the Page_Unload event.

Dec 20 '05 #2
ABC
Oh, my web application opened resource manager, is it ubnabafed resources?

"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:OI*************@TK2MSFTNGP15.phx.gbl...
What are you doing? Unless you use unmanaged resources, you shouldn't
worry about releasing memory as long as you close resources etc properly
after you are done with them.

But yes, Page has Unload event.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"ABC" <ab*@abc.com> wrote in message
news:ua**************@TK2MSFTNGP14.phx.gbl...
Has there Page unload event available? I want to write some codes to
release memory. But I can not found the Page_Unload event.


Dec 20 '05 #3
If you mean

System.Resources.ResourceManager class

You don't need to worry about that, necessarily. Just set the reference to
null (Nothing in VB) after you've used it during a request.

But if you need to release .resources file opened by the RM (and if you open
them yourself). Shortly, if you don't use GetResourceSet method yourself,
don't need to worry about it. If you'd use it, you could call
ReleaseAllResources() to release them deterministically, otherwise uit is
Garbage collector's job.

And as an asnwer, it's not unmanagesd resource.
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

"ABC" <ab*@abc.com> wrote in message
news:e4**************@TK2MSFTNGP12.phx.gbl...
Oh, my web application opened resource manager, is it ubnabafed resources?

"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:OI*************@TK2MSFTNGP15.phx.gbl...
What are you doing? Unless you use unmanaged resources, you shouldn't
worry about releasing memory as long as you close resources etc properly
after you are done with them.

But yes, Page has Unload event.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"ABC" <ab*@abc.com> wrote in message
news:ua**************@TK2MSFTNGP14.phx.gbl...
Has there Page unload event available? I want to write some codes to
release memory. But I can not found the Page_Unload event.



Dec 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David A. Beck | last post by:
I have a frameset with an index frame and a main frame. The aspx pages in the main frame are loaded based on the hyperlinks clicked in the index frame. In any aspx page in the main frame I want to...
3
by: William LaMartin | last post by:
If I create a RadioButtonList with, say, two items, then after the page loads and I select one of the items and then click on a button whose click event contains some code to display the...
6
by: Mike | last post by:
I have a web form in my application that will be used for both viewing and updating information. I have a requirement that if any data has been changed on the page and the user attempts to leave...
1
by: seanmayhew | last post by:
I have a form page that that while editing saves the data to an xml doc before submitting to db. On each page unload it saves the xmldoc as the user can add multiple items to the company like...
8
by: Lars-Erik Aabech | last post by:
Hi! I've got an asp.net page that works for all users except one and that one user only gets the error with a certain parameter set to a certain value. (Same value as the others, but for this...
10
by: Tim_Mac | last post by:
hi, i would like to display a discreet message on all my pages indicating how long the server took to render the page. full tracing is not an option because it would freak out my non-technical...
1
by: abirami elango | last post by:
Hi, i have created a web application in vb.net. i have assigned a value to the textbox during page UNLOAD event as below.. ......... Protected Sub Page_Unload(ByVal sender As Object, ByVal e As...
4
by: daveh551 | last post by:
Okay, I feel like this is probably a stupid question, but... I have accessed sites that are pushing some scam that, when you go to leave the page it will pop up a box saying, "No, don't go, let...
5
by: =?Utf-8?B?U3RldmVuIFRhbmc=?= | last post by:
It seems that one page XBAP whose Unloaded event never get called, I need put some clearing stuff (I.G stop dispatcher time) when user close browser, it unload event doesn't work, where shall I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.