Is there any way to display a toggle button in asp.net MVC using CheckBoxFor and Bootstrap
asp.net-mvc, twitter-bootstrap
Solution
Try: https://bttstrp.github.io/bootstrap-switch/
<input type="checkbox" name="my-checkbox" checked><input type="checkbox" name="my-checkbox" checked>
$("[name='my-checkbox']").bootstrapSwitch();
Problem
Is there any way to have a toggle button in asp.net MVC instead of CheckboxFor? I am using twitter bootstrap but I can't find any classes which has that effect. Any help would be great. Thanks