CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Download of filename containing a ','

by etwoss » 28 Apr 2016 19:18

Hi

Just installed latest version.

I see no errors but nothing downloaded and the frame on which the download component is got destroyed

I see in debug that i come in the method IWCGJQFrameDestroy is called,

==

Now i moved the downloadcomponent to my main form. so not on the frame anymore

When just calling download(filename) it downloads the file but the name it gets has the filepath included:

c--temp-CLIENT-2070-118-20140402-Dit is , een test.txt

where it should be

"Dit is , een test.txt"

I have to call

IWCGJQFileDownload.DownloadFileName(AFilename, ExtractFileName(AFilename));

To get the correct name.

But also here, my frame is getting destroyed

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 30 Apr 2016 07:01

Hi


Failed again, download still destroyes my frame!!


Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Alexander Bulei » 02 May 2016 09:48

Hi Eric,

Failed again, download still destroyes my frame!!


Nothing with our components.

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 etwoss » 02 May 2016 18:35

Hi

Found the problem

The Download on my main form causes the form to throw a IWAppFormRender. which i did not expect.

The code there causes the frame to be deleted.

The re-render came through now having Ajax enabled on the OnCLick of the Button

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Alexander Bulei » 03 May 2016 09:39

Hi,

nice ;)
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

Previous

Return to JQFileDownload

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.