title: Add OnClick Event to Html.RadioButton
body: <p>What I want to do is to call a JavaScript routine when the user clicks on a radiobutton.  I've some fields to enable/disable when this happens.  However, when I enter </p>
  
  <pre><code> &lt;%=Html.RadioButton("obp17", "57", ViewData.Eval("obpValue17").ToString().Equals("57"), new {@onclick = "Yes()"})%&gt;
  </code></pre>
  
  <p>I'm getting a <strong>"type or with" expected error</strong> when trying to add the onlick event.  This should be easy, but none of samples I've found seem to work.  The leading "@" is common in all the examples I've found, but something else seems to be missing.</p>
  
  <p>And yes I know the way of checking for "true" is overkill, but it is created with a special purpose code generator, so it wasn't any extra work.</p>
  
  <p>Any thoughts?</p>