I'm trying to declare a Html.Radio button in my mvc app and want to output a data- attribute. Problem is c# does like "-"
<%= Html.RadioButton("defaultRadioButton", d.Link, d.IsDefault, new { data-link = d.Link })%>
Is there anyway to get round this other than outputting the html myself or creating a helper?
Thanks..