My question is how can I solve a case with the handling of checkboxfor
for my data model I have the following model:
public int Id { get; set; }
[Required(ErrorMessage = "La fecha no puede estar vacía ")]
public DateTime FechaProcesoRegistro { get; set; }
public bool registraProceso { get; set; }
and in the view this:
<p>
@Html.LabelFor(model => model.registraProceso)
@Html.CheckBoxFor(m => m.registraProceso)
</p>
But in the browser I do not see the checkbox box, what can this be?