How do i create a display template so i can display a bool as Yes or No not a checkbox? Using mvc3
<%: Html.DisplayFor(model => model.SomeBoolean)%>
@Html.DisplayTextFor(model => model.SomeBoolean).
@Html.DisplayTextFor(model => model.SomeBoolean)
Use the in-built DisplayTextFor() instead on DisplayFor().
This is an old post, but I was having trouble finding a current answer.