I have a property on one of my objects that is a nullable boolean, I want my logic to have true represent Yes, false to be No and null to be N/A. Now because I am going to h
You just need to handle the special null case like so:
@Html.RadioButtonFor(x => x.DefaultBillable, "", new { @checked = !this.Model.DefaultBillable.HasValue }) Not set @Html.RadioButtonFor(x => x.DefaultBillable, "false") Non-Billable @Html.RadioButtonFor(x => x.DefaultBillable, "true") Billable