Welcome Guest Search | Active Topics | Sign In | Register

How To Fill Textbox Value On Webform with With ID From Windows Form .net Textbox Value Options
Adil
Posted: Monday, June 27, 2016 7:11:58 AM
Rank: Newbie
Groups: Member

Joined: 6/27/2016
Posts: 1
Hi Support Team I would be very helpfull if you tell me how i can fill the text box on webform for example on gmail.com.i am using value from my windowforms text box

This is code on Website For Nodes I can use i can use "Name" "ID" Or Class
<input id="Email" name="Email" placeholder="Enter your email" type="email" value="" spellcheck="false" autofocus="">

Now I Have one Textbox1 on my Window Form IN Visual Studio Which have For Example Email > adilx75@gmail.com

I Want To Put this Windows Form Text Box Value In Text Box On Form On Gmail.com . How Do I Do That I seen this but this is only for Javascript i does seem to find how i put my Textbox1 value after .value if i use this because all of the code is in "" Double Quotes

Quote:
webView1.EvalScript("document.getElementByid('user_name').value = 'test';");


Source For Above Code : http://www.essentialobjects.com/forum/postst8189_How-to-fill-a-web-form-with-username-and-password-using-eowebbrowser-for-net.aspx .
eo_support
Posted: Monday, June 27, 2016 12:11:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

You do not use Windows Forms textbox for this case at all. The text box would be an input element in your HTML page and the code you use (calling EvalScript) is the correct code.

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.