[SOLVED] WVG BeforeUnloadMessage

Answered
0
0

Hi,

on WVG if I write

Me.BeforeUnloadMessage=”bla bla”

when I close the tab or refresh the browser a javscript alert box ask for continue yes/no

for remove it just use

Me.BeforeUnloadMessage=””

How can I produce this with Wisej?

regards

Cristian

  • You must to post comments
Best Answer
1
0

Hi Cristian,

I wrote an article about this here.

Perhaps this helps you.

Jens

  • You must to post comments
0
0

Hi Jens,

thank you solved!

Cristian

  • You must to post comments
0
0

Hi Luca,

if I inserti in to Default.html this script don’t run

http://www.4guysfromrolla.com/demos/OnBeforeUnloadDemo1.htm

why?

thanks

Cristian

  • You must to post comments
0
0

You can’t stop the browser from unloading on the server. To attach to the unload event you can only use javascript. You can do that with Wisej like in any html  page in a <script> tag or an included script.

On the server side there is the Application.ApplicationRefresh event which is fired when the application is reloaded. Browsers make no different between closing a tab, refreshing, or editing the URL.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.