or
<asp:TextBox ID="txtCreativeNotes" runat="server" Rows="5" TextMode="MultiLine" Width="420px" ClientIDMode="Static"></asp:TextBox>
$(document).ready(function () { $("#txtCreativeNotes").kendoEditor();<span style="color:#880015;">This is </span><strong><span style="font-family:'Courier New',Courier,monospace;color:#880015;">sparta</span></strong><span class="k-widget k-datepicker k-header" style="width: 150px;"> <span class="k-picker-wrap k-state-default k-widget"> <input id="dp" class="k-input" style="width: 150;" readonly="readonly"> <span class="k-select" unselectable="on"> <span class="k-icon k-icon-calendar" unselectable="on">select</span> </span> </span></span>I currently have a 2 pane splitter ... the second pane has a relative reference to an html snippet for the contents of the 2nd pane.
var Data = [
{ "Name": "Marks S.", "FavoriteColor": “Red”},
{ "Name": "Hanna M.", "FavoriteColor ": “Blue” },
{ "Name": "Brad A.", "FavoriteColor ": “Blue” }
];
categoryField : FavoriteColor
field: count (aggregate)
<div id="example" class="k-content"><br>
<div class="chart-wrapper">
<div id="chart">
</div>
</div> <script>
var Data = [{ "Name": "Marks S.", "FavoriteColor": "Red"},
{ "Name": "Hanna M.", "FavoriteColor": "Blue"}, { "Name": "Brad A.", "FavoriteColor": "Blue"}];
function createChart() {
$("#chart").kendoChart({
theme: $(document).data("kendoSkin") || "default",
title: {text: "Aggregate Example"},
legend: {position: "bottom"},
dataSource: {data: Data,
aggregate: [{ field: "FavoriteColor", aggregate: "count"}],
group: { field: "FavoriteColor" }
},
series: [{ type: "pie",
field: "#= count#",
categoryField: "FavoriteColor"}],
tooltip: {visible: true,
template: "${ category } - #= value#"}});
}
$(document).ready(function () {
setTimeout(function () {
createChart();
$("#example").bind("kendo:skinChange", function (e) {
createChart();
}); }, 100);
});
</script>
</div>