This is a migrated thread and some comments may be shown as answers.

Upload automatically a file with WebBrowser without browsing

1 Answer 55 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Moshab
Top achievements
Rank 1
Moshab asked on 09 Dec 2014, 11:43 AM
Hi,

I am developing an add-in Outlook. I created a button on the ribbon. When I click on the button I show a From. In my From I added a WebBrowser. I load a url with the method WebBrowser.Navigate("myUrl"). In this website I have a <input type=file> which use AsyncUpload for upload a file. 
My question :  Can I upload automatically a file with WebBrowser without browsing ? Giving it the source file in argument ? Is there a function for this? 

Thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 12 Dec 2014, 08:18 AM
Hi,

Unfortunately such behavior is not supported because of browser security limitations. hope this will explain the issue.

Regards,
Plamen
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
AsyncUpload
Asked by
Moshab
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or