Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnAsyncPageUnloaded don't wok
#1
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.
Reply
#2
Can you point me the example code. What browser are you using to test this?
Reply
#3
(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)
Reply
#4
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;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)