seriesDefaults: {
type:
"pie"
,
overlay: {
gradient:
"none"
}
},
series: [{
field:
"Amounts[0].Amount"
,
categoryField:
"Name"
}],
tooltip: {
visible:
true
,
format:
"{0:N0}"
,
template:
"${category}<br>${value}"
}
<
script
>
$(document).ready(function() {
var dataSource = new kendo.data.DataSource({
transport: {
read: {
url: "filters.json",
dataType: "json"
}
},
change: function() {
// subscribe to the CHANGE event of the data source// do stuff here...
});
// read data from the "movies" array
dataSource.read();
});
</
script
>
[{id:
"oflc"
,title:
"Classification"
,items:[{title:
"root"
,values:
"CTC,G,PG,M,MA,R"
}]},{id:
"drwho"
,title:
"Favourite Doctor"
,items:[{title:
"Classic"
,values:
"William Hartnell,Patrick Troughton,Jon Pertwee,Tom Baker,Peter Davison,Colin Baker,Sylvester McCoy,Paul McGann"
},{title:
"2005+"
,values:
"Christopher Eccleston,David Tennant,Matt Smith"
},{title:
"Non-canon"
,values:
"Peter Cushing"
}]},{id:
"q"
,title:
"Search term"
,items:[{title:
"root"
,values:
"ANY"
}]},{id:
"format"
,title:
"Format"
,items:[{title:
"root"
,values:
"3D Blu-ray,Blu-ray,DVD"
}]},{id:
"companion"
,title:
"Favourite Companion"
,items:[{title:
"Classic"
,values:
"Mary Tamm_Lala Ward[Romana],John Leeson[K9],Nicola Bryant[Peri],Katy Manning[Jo Grant]"
},{title:
"2005+"
,values:
"Karen Gillan[Amy Pond]"
}]},{id:
"price"
,title:
"Price"
,items:[{title:
"root"
,values:
"<20[Under $20]"
}]}]
categoryAxis: {
field:
'Mois'
,
labels: {
template:
"#=kendo.cultures.current.calendar.months.namesAbbr[value-1]"
}
}
$(
'#gridEmailAddress'
).data(
'kendoGrid'
).dataSource.get(#=Id#).set(
'StatusTypes[0].Flag'
,
true
)
$(
'#gridEmailAddress'
).data(
'kendoGrid'
).dataItem(
this
.parentElement.parentElement).StatusTypes[0].Flag=
true
;
$(
"#dropdownlist"
).kendoDropDownList([{ text:
'Zone 1'
, value:
'0'
}, { text:
'Zone 2'
, value:
'10000'
}, { text:
'Zone 3'
, value:
'10001'
}]);
***second statement******
var
json =
"{ text: 'Zone 1', value: '0' }, { text: 'Zone 2', value: '10000' }, { text: 'Zone 3', value: '10001' }"
;
$(
"#dropdownlist"
).kendoDropDownList([json]);
$(document).ready(function () {
// WCFJSON();
// $("#input").kendoAutoComplete(["Apples", "Oranges", "Grapes"]);
// return;
$("#input").kendoAutoComplete({
minLength: 10,
dataTextField: "Cusip",
dataSource: new kendo.data.DataSource({
transport: {
read: {
url: "Service.svc/GetUsers",
dataType: "jsonp"
}
}
}
),
change: function () {
//alert("test");
this.dataSource.read();
}
});
});
Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest ' Some save logic context.Response.Clear() context.Response.ContentType = "text/plain" context.Response.Write("{'result':'result value'}") End Sub