mercredi 9 novembre 2016

kendo UI ListView bind model to checkbox

I have a Kendo UI MVC razor ListView that im trying to bind a boolean to the checkbox. (Full template Code Below).

The checkbox issue I seem to have is that the ? '' is erroring with "missing attribute name", But this syntax has worked elsewhere (in a kendo grid)

Im looking to bind the listviews model bool object "preferredDisplay" to the check box to indicate checked or unchecked.

I can change the type of the object to string and hold 'Checked' or '' if need be, but I will need to know how to bind the string to the checkbox checked item as well.

Thanks in advance

#=Name#


Aucun commentaire:

Enregistrer un commentaire