"Maverick" <Ma******@discussions.microsoft.com> ¦b¶l¥ó
news:13**********************************@microsof t.com ¤¤¼¶¼g...
in normal Window form programming, there's something like form_unload
function. but in asp.net the Page_Unload function is obviously not serving the same
purpose.
It's not possible to have onclose event because it's not possible to have a
postback when a webpage is closing.
Do you guys know how to get the Page onclose() event in asp.net fired when
i clicked another page ??
I believe the "onblur" event will serve your purpose, but you have to use
client-side scripting(vbscript/javascript) to invoke a postback(most
commonly by clicking a multifunctional button) because most DOM events do
not generate a postback as they occured.