data-toggle
on helper CheckBoxFor
:
@Html.CheckBoxFor(model => model.ReceberEmail,
new { @class ="form-control", @data-toggle ="toggle"})
In my Model the code is as follows:
[Display(Name = "Receber Emails ?")]
public virtual Boolean ReceberEmail { get; set; }
Would you have any way to pass this parameter through Data Annotation ?