CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Multiple file upload - complete/finish event

by Alexander Bulei » 05 Aug 2015 09:32

Hi,

If you want trigger the OnComplete event, only when all files are uploaded, here you have the snippet:

delphi code
procedure TIWForm3.IWAppFormCreate(Sender: TObject);
begin
IWCGJQFileUpload1.JQFileUploadOptions.OnComplete.Condition:= Format('(%s_JQObj._uploadingList._filelist.length == 0)',[IWCGJQFileUpload1.JQHTMLName]);
end;


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

Return to JQFileUpload

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.