I got an HTML file from design with following code:
<input type="checkbox" data-switchery checked name="product_edit_active_control" id="product_edit_active_control" />
how to create this using MVC's @Html.CheckBoxFor(model =>
I know how to add a new attribute using e.g. new { @class = "longInputForEdit" }
but how to add non attribute in my case data-switchery
You could try it like this: