CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

TIWCGJQFileUpload is causing "are you sure you want to leave

by AngryDev » 02 May 2019 14:43

Hello,

Im using TIWCGJQFileUpload to upload files to our site. When The user selects more than one file at a time the "are you sure you want to leave this page" dialog box appears. Is there a way to get rid of that?

I tried adding:
WebApplication->CallBackResponse->AddJavaScriptToExecute("window.onbeforeunload = null;");
to the constructor of the page but it didn't help.

Thanks
AngryDev
 
Posts: 10
Joined: 16 Nov 2018 23:36

by Alexander Bulei » 03 May 2019 09:03

Hi AngryDev,

On which browser?

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by AngryDev » 03 May 2019 14:25

All of them. They give slightly differing messages. But they all do it.
AngryDev
 
Posts: 10
Joined: 16 Nov 2018 23:36


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.