I'm trying to select an option in the web page with axwebBrowser control.
I know how to select a value, here is my code: mshtml.IHTMLElement ddlid1b = doc.getElementById("id56"); ddlid1b.children[3].SetAttribute("selected", "selected");
After that I have Fired the Change Event like below
var el3 = (ddlid1b as IHTMLElement3); el3.FireEvent("onchange");
But there is one problem,when the website automatically refreshes when the value is changed, so when I use my code, the value in the select box changes, but website doesn't refresh.
Is it Possible to post back the page like in .aspx pages .
How do I make this work?
Thank you in advance