or
Error: Invalid template:'<
tr
data-uid
=
"#=uid#"
><
td
>${locationName}</
td
><
td
>${answered}</
td
><
td
>${unanswered}</
td
><
td
>${total}</
td
></
tr
>' Generated code:'var o,e=kendo.htmlEncode;with(data){o='<
tr
data-uid
=
"'+(uid)+'"
><
td
>'+(e(locationName))+'</
td
><
td
>'+(e(answered))+'</
td
><
td
>'+(e(unanswered))+'</
td
><
td
>'+(e(total))+'</
td
></
tr
>';}return o;'
<script id=
"feeds-template"
type=
"text/x-kendo-tmpl"
><tr><td>${ locationName }</td><td>${ answered }</td><td>${ unanswered }</td><td>${ total }</td></tr></script>
<script id=
"feeds-template"
type=
"text/x-kendo-tmpl"
><tr><td>1</td><td>2</td><td>3</td><td>4</td></tr></script>
Error: Invalid template:
'<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>'
Generated code:
'var o,e=kendo.htmlEncode;with(data){o='
<tr><td>1</td><td>2</td><td>3</td><td>4</td></tr>
';}return o;'
@(Html.Kendo().DropDownListFor(m => m.Page.PageSource)
.DataTextField("Text")
.DataValueField("Value")
.BindTo(Model.PageSourceList)
.Value(Model.Page.PageSource)
.Enable(!Model.Page.IsSystem)
.HtmlAttributes(new { id = "source" })
.Events(e=>e.Change(@<
text
>
function(e) {
alert(e.item);
}</
text
>)))
and I get "undefined" when I change the item in the select list.
2) Is there a way to have this event fire initally when the page loads?
Thank you,
David A
It's a bug that I also reproduced on your site
First enter this date in the date picker: August 31, 2012
- With the date picker calendar, click on header to display the 12 month
- Select November
The month that appears is December's
The problem is, if the date display at first is a 31 and the month you select have only 30 day, he display the next month.
{field:"Count", title:"Settings", filterable: false, width: 100,
template:'<
a
href
=
"\\#"
onlick
=
"editSettings();"
>#=Count#</
a
>'
seriesDefaults: { type: "bar", stack: true, labels: { visible: true, position: "insideBase", format: "c0" } }, series: [{ field: "Amount", gap: 0.3 }],
seriesDefaults: { type: "bar", stack: true, labels: { visible: true, position: "insideBase", format: "c0" }, gap: 0.3 }, series: [{ field: "Amount" }],