CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

number of StoredNames

by sesam » 04 Feb 2014 17:19

Hello,
how can I determine the number of StoredNames?
(NOT IWCGJQFileUpload.FileNames.Count)
Thanks and regards,
Andreas
sesam
 
Posts: 153
Joined: 09 Apr 2013 16:19

by Alexander Bulei » 04 Feb 2014 17:27

Hi Andreas,

sesam wrote:Hello,
how can I determine the number of StoredNames?
(NOT IWCGJQFileUpload.FileNames.Count)
Thanks and regards,
Andreas


What do you mean?
Please explain better.

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: 3637
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Jorge Sousa » 04 Feb 2014 17:44

Hi Andreas

Assuming that you have AutoUpload = False, and being IWCGJQFileUpload1 the name of your upload control

You can add the following to an event, fi, Button OnClick

with Button1.JQButtonOptions.OnClick.BrowserParams.Add do
begin
ServerName:= 'MyStoredCount';
BrowserScript:= IWCGJQFileUpload1.JQHTMLName + '_JQObj._storedFileIds.length';
end;
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by sesam » 05 Feb 2014 15:36

Hi,
sure you didn't a typing error?

OnClick won't fire after adding BrowserParams...

Best regards,
Andreas
sesam
 
Posts: 153
Joined: 09 Apr 2013 16:19

by Jorge Sousa » 05 Feb 2014 16:43

Hi

sure you didn't a typing error?


I'm sure, check the attached form
You do not have the required permissions to view the files attached to this post.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQFileUpload

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.