I have model like this
public Nullable<bool> Space { get; set; }
public Nullable<bool> Lab { get; set; }
public Nullable<bool> Consultation { get; set; }
public Nullable<bool> Financial { get; set; }
public Nullable<bool> Other { get; set; }
in my view i initialize the checkbox as you can see here :
@Html.CheckBoxFor(model => model.Space.Value, new { id = "CheckSpace" })
@Html.CheckBoxFor(model => model.Lab.Value, new { id = "CheckLab" })
@Html.CheckBoxFor(model => model.Consultation.Value, new { id = "CheckConsultation"})
@Html.CheckBoxFor(model => model.Financial.Value, new { id = "CheckFinancial" })
@Html.CheckBoxFor(model => model.Other.Value, new { id = "CheckOther" })
but when i post the view to my controller all checkboxs value are null, could you please give some help?