esac
esac

Reputation: 24685

How can I detect when a checkbox has been selected in a WebBrowser control?

In my WinForms application, I have a WebBrowser control which displays a page. When the user checks/unchecks a checkbox, I want to detect that, and have an event do some processing within my winforms app.

Any idea if this is possible?

Upvotes: 4

Views: 294

Answers (1)

SLaks
SLaks

Reputation: 887757

Find the HtmlElement for the checkbox, then call AttachEventHandler("change", handler).

Upvotes: 1

Related Questions