Hi,
> Hey all, just wondering if the subject of this post is possible. I
> have a javascript on my asp page that detects browser onunload, and it
> will successfully popup a messsage box. When I try to call a sub in
my
> codebehind, the sub never fires, and I receive no errors.
You can't call a serverside sub in your client JS/VBS. Remember that at
the point client scripts execute, there's already no codebehind, and no
serverside code, so you just can't call them.
Maybe, you could open a pop-up window in unload event with some server
page, and execute your proc in it, but to my mind, it isn't a good idea.
Roman
|