Atozed Forums

Full Version: OnAsyncPageUnloaded don't wok
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I tried to use OnAsyncPageUnloaded. But if I add the example code I have to click twice on every button link etc on that page.
Can you point me the example code. What browser are you using to test this?
(02-21-2023, 11:29 PM)Alexandre Machado Wrote: [ -> ]Can you point me the example code. What browser are you using to test this?

I have removed the code just now.

Recently installed 

1. RAD Studio 11.2
2. Intraweb 15.2.69
3. TMS Intraweb component pack 5.9.3.0

after that Patch 2 for RAD Studio 11.2 (Do I have to reinstall Intraweb)

I don't think it's related to browser. I have testet Edge and Firefox. (did not work)
The problem exists even with no code inside the OnAsyncPageUnloaded event.

Also I don't understand WebApplication.ActiveFormCount = 1. My formCount is always greater than 1.  So  WebApplication.SelfDestruct(15); will never happens.


  if AIsCurrent and (WebApplication.ActiveFormCount = 1) then begin
    WebApplication.SelfDestruct(15);
  end;