T
tarun.kataria
Hi all,
In my ASP.NET application, I am trying to detect in a javascript
function, which is triggered by the event onbeforeunload, that if the
window is getting closed beacuse its a post back or if the user has
clicked the X button of the browser. Is there a way in javascript to
know that a postback is about to happen i.e. the user has clicked a
button (asp.net control).
thanks
In my ASP.NET application, I am trying to detect in a javascript
function, which is triggered by the event onbeforeunload, that if the
window is getting closed beacuse its a post back or if the user has
clicked the X button of the browser. Is there a way in javascript to
know that a postback is about to happen i.e. the user has clicked a
button (asp.net control).
thanks