Kendo Base
by gxclarke
HTML
<script src="http://cdn.kendostatic.com/2011.3.1407/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2011.3.1407/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2011.3.1407/styles/kendo.default.min.css">
<div id="wrapper">
<input id="ddl" /><br />
</div>
JavaScript
var productsDataSource = new kendo.data.DataSource({
type: "odata",
transport: {
read: "http://services.odata.org/Northwind/Northwind.svc/Products"
}
});
$("#ddl").kendoDropDownList({
dataSource: productsDataSource,
dataTextField: "ProductName",
dataValueField: "ProductID"
});
$("<input />").appendTo("#wrapper").kendoDatePicker();