Im filling in a site with Webbrowser control, the problem is the site contains two dropdownlists and they are linked to each other like
If i use
it does select the value 1 of dropdownlist1 but it doesnt activate dropdownlist 2 with options that belong to the choice on the first dropdownlist
The only way i get it working is to select it with the mouse and click on my option but i want it to be automatic. I hope i have informed you well enough.
HTML Code:
<select name="dropdown1" id="dropdown1">
<option value="1"test1</option>
<option value="2"test2</option>
</select>
<select....>
<option value=""> </option>
</select>
Code:
Webbrowser1.document.getelementbyid("dropdown1").setattribute("Value", "1")
The only way i get it working is to select it with the mouse and click on my option but i want it to be automatic. I hope i have informed you well enough.