CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

How to invoke an upload programmatically

by davenovo » 14 Mar 2018 21:50

Hello,

I need to upload a file from the client to my server. The demo application triggers the upload of a button click. In fact, the uploader appears as a button. However, I want to trigger a file upload when the user selects a menu item from a menu.

So I have the menu item linked to an action, and in the action.OnExecute I want to start a file upload process using an existing TIWCGJQFileUpload I have on the form. I also do not want them to see the TIWCGJQFileUpload component I put on the form. Is that possible?
davenovo
 
Posts: 98
Joined: 03 Mar 2018 19:11

by Alexander Bulei » 15 Mar 2018 11:14

Hi davenovo,

It's impossible to trigger file input programmatically, due the security permissions.

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

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.