The CheckBox helper expects a boolean value as the second parameter. Try it like this:
@Html.CheckBox( "", bool.Parse((string)ViewData.TemplateInfo.FormattedModelValue), new { disabled = "disabled" } )
or if it is a strongly typed editor template for boolean :
@model bool @Html.CheckBox("", Model, new { disabled = "disabled" })
Darin Dimitrov
source share