W
Weston Weems
Ok,
what I am attempting to do is take a web form and attach a
confirm to leave page. I can get the event to fire (though
it doestn actually prevent navigating away from the site)
My problem is that every time I initiate a postback, the
event is also fired. I dont want people to see "Are you
sure you wish to discard any changes?" if they hit refresh
or postback etc.
ANyway I can get around this?
what I am attempting to do is take a web form and attach a
confirm to leave page. I can get the event to fire (though
it doestn actually prevent navigating away from the site)
My problem is that every time I initiate a postback, the
event is also fired. I dont want people to see "Are you
sure you wish to discard any changes?" if they hit refresh
or postback etc.
ANyway I can get around this?