Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Checkbox not working

$
0
0

Hello David,

I'm afraid that the k-checkbox-label class is not designed to work with Html.CheckBoxFor. This is due to the fact that Html.CheckBoxFor will render two input elements but the k-checkbox-label requires the associated input element to be immediately before the label. Thus, you should either skip the use of Html.CheckBoxFor and create the checkbox HTML manually or consider using UI for ASP.NET MVC CheckBox which should work correctly.

Regards,
Rosen
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>