or
<!DOCTYPE html>
<
html
>
<
head
>
<
link
href
=
"http://cdn.kendostatic.com/2011.3.1129/styles/kendo.common.min.css"
rel
=
"stylesheet"
/>
<
link
href
=
"http://cdn.kendostatic.com/2011.3.1129/styles/kendo.default.min.css"
rel
=
"stylesheet"
/>
<
script
src
=
"http://code.jquery.com/jquery-1.7.1.min.js"
></
script
>
<
script
src
=
"http://cdn.kendostatic.com/2011.3.1129/js/kendo.all.min.js"
></
script
>
</
head
>
<
body
>
<
input
id
=
"input"
/>
<
script
>
$(document).ready(function() {
// create ComboBox from input HTML element
$("#input").kendoComboBox({
dataSource:[
{ text: "Cotton", value: "1" },
{ text: "Polyester", value: "2" },
{ text: "Cotton/Polyester", value: "3" },
{ text: "Rib Knit", value: "4" }],
suggest:true,
index:3
});
});
</
script
>
</
div
>
</
body
>
</
html
>
This is a great place for MVC 3 newbies to learn to use the KendoUI toolkit.
Download includes Visual Studio 2010 Solution plus KendoUI Web - AutoComplete Help file.
Note: The contents of the file were entirely created by myself, and are independent of Telerik.
To get AutoComplete.zip, https://www.mediafire.com/?7ke2r42yv4z0i05
You will see advertisements during the short download.
<
div
id
=
"expensegrid"
>
</
div
>
<
script
type
=
"text/javascript"
>
$(function () {
$("#expensegrid").kendoGrid({
dataSource: {
serverPaging: false,
serverSorting: true,
pageSize: 10,
transport: {
read: {
url: '@Url.Action("ExpenseListJson","Expense")',
dataType: 'json'
}
},
error: function (e) {
alert(e);
}
},
height: 250,
sortable: true,
pageable: true,
columns: ["CategoryName", "VendorName", "Amount"]
});
});
</
script
>