You would need to trigger a page call from client side code, since the
window closing doesn't raise any server events.
Something like: onClose="form.submit()"
Where the form has hidden form fields with the state you want to store.
"Handi" <Ha***@discussions.microsoft.com> wrote in message
news:3D**********************************@microsof t.com...
hi. i want to store the current state before window close, how to write
code
when window closing ( before window close) ?
Thanks