I
Ian Semmel
If I have an aspx page loaded in a web browser control, can I simulate a mouse click on a particular button control ?
Marc said:If you have used HttpWebRequest (or WebClient), then you will have to
do it all manually. If you are using WebBrowser, then you can do this
quite simply by using DHTML - for example, to click the "I feel lucky"
button on Google's home page:
HtmlElement el = webBrowser1.Document.All["btnI"];
if (el != null) el.InvokeMember("click");
Marc