Last post Jan 30, 2008 06:29 PM by JoshStodola
Jan 30, 2008 04:09 PM|avarndel|LINK
Jan 30, 2008 04:11 PM|JoshStodola|LINK
The onbeforeunload event fires every time the page gets unloaded. Every postback, every refresh, every redirect. I don't see how it could be firing twice. Have you tried just using "onunload"?
Jan 30, 2008 04:35 PM|avarndel|LINK
It seems to be happening when the user tries to click on a tree navigation.
Jan 30, 2008 04:47 PM|JoshStodola|LINK
If that causes a postback, than it's supposed to fire.
Jan 30, 2008 06:27 PM|avarndel|LINK
Is there a way of getting around it?
Jan 30, 2008 06:29 PM|JoshStodola|LINK
Nope. Unless you change your TreeView so that it no longer posts back.