When using editor templates by name like:
columns.Bound(x => x.Name).EditorTemplateName("String").Width(300);
Causes this to be rendered:
{"title":"Name","width":"300px","field":"Name","encoded":true,"editor":"%3cinput class=\"text-box single-line\" data-val=\"true\" data-val-required=\"Please provide a setting name.\" id=\"Name\" name=\"Name\" type=\"text\" value=\"\" /%3e%3cspan class=\"field-validation-valid\" data-valmsg-for=\"Name\" data-valmsg-replace=\"true\"%3e%3c/span%3e"}
Which then causes the grid, when inline editing to show the html encoded rather than endering the actual html it represents. I see an "encoded:true" but it doesn't seem to be treating the editor as encoded.
Thanks in advance.
EDIT: I blogged a workaround.
http://pknopf.com/blog/kendo-ui-editor-templates-for-asp-net
columns.Bound(x => x.Name).EditorTemplateName("String").Width(300);
Causes this to be rendered:
{"title":"Name","width":"300px","field":"Name","encoded":true,"editor":"%3cinput class=\"text-box single-line\" data-val=\"true\" data-val-required=\"Please provide a setting name.\" id=\"Name\" name=\"Name\" type=\"text\" value=\"\" /%3e%3cspan class=\"field-validation-valid\" data-valmsg-for=\"Name\" data-valmsg-replace=\"true\"%3e%3c/span%3e"}
Which then causes the grid, when inline editing to show the html encoded rather than endering the actual html it represents. I see an "encoded:true" but it doesn't seem to be treating the editor as encoded.
Thanks in advance.
EDIT: I blogged a workaround.
http://pknopf.com/blog/kendo-ui-editor-templates-for-asp-net