vendredi 15 septembre 2017

Enable checkbox with DisplayFor in asp.net mvc application

I have a web application made with asp.net mvc 5. In this application I have a view which display a list of informations.

In this list I display a boolean information with @Html.DisplayFor(modelItem => item.valide). So a checkbox is displayed and it's checked and disabled.

How can I do to remove the disabled="disabled" from the checkboxes ?




Aucun commentaire:

Enregistrer un commentaire