Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

Click button UploadFile Options
Luiz
Posted: Monday, June 10, 2019 9:15:06 AM
Rank: Newbie
Groups: Member

Joined: 12/15/2015
Posts: 8
Friends, how to trigger the click the upload button?

<div>
<input type="file" name="FileUpload1" id="FileUpload1" />
</div>


I tried this, but it does not work.

WebView1.EvalScript("document.getElementById('FileUpload1').click();")


Anyone have a suggestion?

Thank you
eo_support
Posted: Monday, June 10, 2019 3:45:27 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 21,360
Hi,

Please set this property to true and see if it works for you:

https://www.essentialobjects.com/doc/eo.webengine.engineoptions.bypassusergesturecheck.aspx

See here more details about setting engine options:

https://www.essentialobjects.com/doc/webbrowser/advanced/engine.aspx

Thanks!



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.