or
$("#absStart").kendoDateTimePicker({format: "dd-MM-yyyy HH:mm", timeFormat:"HH:mm" });After selecting date or time everything is ok
renders:
11/1/2012 2:20:00 PM
$(document).ready(function () { var data =new kendo.data.DataSource({ serverFiltering: true, transport: { read: "data/output.txt" } }); $("#input").kendoAutoComplete({ dataSource: data }); });{"__entityModel":"People","__COUNT":3,"__SENT":3,"__FIRST":0,"__ENTITIES":[{"__KEY":"27","__STAMP":11,"ID":27,"firstName":"dan","lastName":"qqqq"},{"__KEY":"26","__STAMP":14,"ID":26,"firstName":"dan","lastName":"rrrr"},{"__KEY":"25","__STAMP":13,"ID":25,"firstName":"dan","lastName":"eeee"}]} $(document).ready(function () { //var crudServiceBaseUrl = "http://demos.kendoui.com/service", // var crudServiceBaseUrl = "http://127.0.0.1:8081/rest",var dataSource = new kendo.data.DataSource({ transport: { read: { url: "http://127.0.0.1:8081/rest/People", type: "POST", contentType: "application/json; charset=utf-8", dataType: "json" } }, schema: { data: function (data) { alert("got data") alert(data); /*Data Return Successfully*/ return data; } }, error: function (e) { debugger; alert("Error"); }, change: function (e) { alert("Change"); }, requestStart: function (e) { debugger; alert("Request Start"); } }); $("#grid").kendoGrid({ dataSource: dataSource, pageable: true, height: 400, toolbar: ["create"], columns: [ "firstName", "lastName", { command: ["edit", "destroy"], title: " ", width: "210px" }], editable: "inline" }); });.ClientRowTemplate("<tr>" +
"<td >" +
"${ FirstName} " +
"</td>" +
"<td> " +
"${ LastName} " +
" </td>" +
"</tr>" +
"${optionalNotes(Notes)}")function optionalNotes(t) { if (t.length > 0) { return "<tr><td colspan='2'>" + t + "</td></tr>"; } else { return ""; }}var Person = kendo.data.Model.define( { id: "personId", // the identifier of the model fields: { "name": { type: "string" }, "age": { type: "number" } }});var person = new Person( { name: "John Doe", age: 42});function addPerson(person) { $.ajax({ url: "/Person/Add/" });}[AcceptVerbs(HttpVerbs.Post)]public ActionResult Add([DataSourceRequest] DataSourceRequest request, Person person){ // Code to add person to database.}