DropDownList readonly property keeps control readonly when readonly=false
Html.Kendo().DropDownList()
.Name("LayerId")
.HtmlAttributes(new { style = "width:100%;background:#:data.Color#;", @readonly = false })More than that, if this code is in an EditorTemplate of a Model edited in a grid, there is no way to put readonly property using Model in the view.
Model is always null... @readonly = (Model.SomethingId > 0) throws an error, because Model is null when initialising the Grid