I want to make readOnly with EditorFor in edit page.
I tried to put readonly and disabled as:
@Html.Editor
Old post I know.. but now you can do this to keep alignment and all looking consistent..
@Html.EditorFor(model => model.myField, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } })