Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
async-event and page refresh
#3
Following works for me. Call it from your Async... event


Code:
procedure TDlgBase.TriggerFullPostFromAsyncEvent;
var js: string;
begin
  // https://forums.embarcadero.com/thread.jspa?messageID=675140&#675140
  js := 'location.reload();';

  WebApplication.CallBackResponse.AddJavaScriptToExecuteAsCDATA(js);
end;
Reply


Messages In This Thread
async-event and page refresh - by kpenzkofer - 04-30-2021, 01:29 PM
RE: async-event and page refresh - by kpenzkofer - 05-08-2021, 08:53 AM
RE: async-event and page refresh - by jeroen.rottink - 05-10-2021, 09:02 AM
RE: async-event and page refresh - by raulevm - 03-03-2023, 07:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)