Hi:
Dojo remote datasource not working:
Image attached...
Phil
Dojo remote datasource not working:
@{
ViewBag.Title = "Tutorial 10";
}
<
h2
>Tutorial 10 - Remote DataSource</
h2
>
<!-- Tweets List -->
<
ul
id
=
"twitter"
></
ul
>
<
script
type
=
"text/javascript"
>
// DataSource code
var ds = new kendo.data.DataSource({
transport: {
read: {
dataType: "jsonp"
}
},
change: function () {
var tweets = this.view();
$.each(tweets, function () {
$("#twitter").append("<
li
>" + this + "</
li
>");
});
}
});
//
ds.read();
</
script
>
Phil