Upload automatically a file with WebBrowser without browsing

2 posts, 0 answers
  1. Moshab
    Moshab avatar
    2 posts
    Member since:
    Dec 2014

    Posted 09 Dec 2014 Link to this post

    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.
  2. Plamen
    Admin
    Plamen avatar
    2731 posts

    Posted 12 Dec 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top