I have a master-detail grid and I want to use a Kendo NumericTextBox as ClientTemplate for one of the columns in the detail grid:
columns.Bound(x => x.MaximumWindowWeeks).ClientTemplate(this.Html.Kendo().NumericTextBox<int>().Name("Test").ToClientTemplate().ToHtmlString());
When expanding the details for a given row, I get the error below and none of the rows are rendered:
SyntaxError: unterminated string literal
...itle":"Maximum Window Weeks","template":"<input id=\"Test\" name=\"Test\" type=\...
Do I need to somehow "escape" the column client template, since I'm defining it as part of another client template?
Thanks!
columns.Bound(x => x.MaximumWindowWeeks).ClientTemplate(this.Html.Kendo().NumericTextBox<int>().Name("Test").ToClientTemplate().ToHtmlString());
When expanding the details for a given row, I get the error below and none of the rows are rendered:
SyntaxError: unterminated string literal
...itle":"Maximum Window Weeks","template":"<input id=\"Test\" name=\"Test\" type=\...
Do I need to somehow "escape" the column client template, since I'm defining it as part of another client template?
Thanks!