Attaching delegates to webBrowser html elements
===

I am working on a windows form UserControl to render and interact with some HTML using the webBrowser control. Part of the content are some radio buttons that I need to capture click events from within my control. So in the DocumentCompleted event of the webBrowser I am attaching an onClick event to the radio buttons. All of this seems to work until I click on one of the radio buttons, it seems that only the final radio button is actually having the event attached, even though I have stepped through the code and the delegate is being attached for each radio button.

This is the lambda I am using to attach the delegate to the HtmlElement. 
    
    void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
    {
         foreach (HtmlElement el in webBrowser1.Document.GetElementsByTagName("input"))
         {
             el.AttachEventHandler("onclick", (sender1, e1) => testEventHandler(el, EventArgs.Empty));
         }
    }
    
    public void clickEventHandler(object sender, EventArgs e)
    {
        Guid answerId;
        var he = (HtmlElement)sender;
        if (Guid.TryParse(he.Id, out answerId))
            if (AnswerSelected != null)
                AnswerSelected(answerId);
     }

