Page 1 of 1

How to invoke an upload programmatically

PostPosted: 14 Mar 2018 21:50
by davenovo
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?

Re: How to invoke an upload programmatically

PostPosted: 15 Mar 2018 11:14
by Alexander Bulei
Hi davenovo,

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

Best Regards.