DropDownList with empty optionLabel
by krustev
HTML
<link rel="stylesheet" href="http://cdn.kendostatic.com/2013.3.1030/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2013.3.1030/styles/kendo.default.min.css">
<script src="http://cdn.kendostatic.com/2013.3.1030/js/kendo.all.min.js"></script>
<input id="products" />
JavaScript
$("#products").kendoDropDownList({
dataTextField: "ProductName",
dataValueField: "ProductID",
optionLabel: " ",
dataSource: {
transport: {
read: {
dataType: "jsonp",
url: "http://demos.kendoui.com/service/Products",
}
}
}
});