Sumit Arora

Sumit Arora

  • NA
  • 504
  • 143k

Checkbox in MVC

Aug 17 2016 10:37 AM
Hi,
I am using MVC 4 and there is a form where details of employees is being taken and i have put  checkboxes for list of departments is employee attached to, but sometimes the checkboxes misbehaves and the default value selected is not shown on page
 
Please suggest me better way of using using @Html.Checkbox or @Html.CheckFor with a form
having model and and list of checkboxes displayed 

Answers (4)