or
var app = new kendo.mobile.Application(document.body, {});app.navigate("#:back");[OperationContract] [WebGet(ResponseFormat=WebMessageFormat.Json)] List<ProductDetails> GetProductDetails();{"d":[{"_type":"ProductDetails:#NWProducts","Discount":0,"OrderId":10248,"ProductId":11,"UnitPrice":14.0000,"quanity":12},{"_type":"ProductDetails:#NWProducts","Discount":0,"OrderId":10248,"ProductId":42,"UnitPrice":9.8000,"quanity":10},{"_type":"ProductDetails:#NWProducts","Discount":0,"OrderId":10248,"ProductId":72,"UnitPrice":34.8000,"quanity":5},{"_type":"ProductDetails:#NWProducts","Discount":0,"OrderId":10249,"ProductId":14,"UnitPrice":18.6000,"quanity":9},{"__type":"ProductDetails:#NWProducts","Discount":0,"OrderId":10249,"ProductId":51,"UnitPrice":42.4000,"quanity":40}<script type="text/javascript"> $(document).ready(function () { $("#grid").kendoGrid({ dataSource: { type: "json", transport: { read: function (options) { $.ajax({ dataType: "json", success: function (result) { options.success(result); } }); }, batch: true, schema: { type: 'json', model: { id: "OrderId", fields: { OrderId: { type: "string" }, ProductId: { type: "string" }, UnitPrice: { type: "string" }, quanity: { type: "string" }, Discount: { type: "string" } } } }, pageSize: 10 }, height: 430, filterable: true, groupable: true, sortable: true, pageable: true, columns: [{ field: "OrderId", title: "OrderId", width: 140 }, { field: "ProductId", title: "ProductId", width: 190 }, { field: "UnitPrice", title: "UnitPrice" }, { field: "quanity", width: 110 },{ field: "Discount", width: 110 }] }); }); </script>
@(Html.Kendo().Scheduler<Services.AspNet.Mvc.Areas.Services_CreateServiceOrder.ProjectionsScheduler>().Name("scheduler").Date(DateTime.Today).StartTime(new DateTime(2013, 6, 13, 7, 00, 00)).EndTime(new DateTime(2013, 6, 13, 19, 00, 00)).Height(350).AllDaySlot(false).Views(views =>views.DayView();}).Group(group => group.Resources("Technicals")).Timezone("Etc/UTC").Resources(resource => {resource.Add(m => m.TechnicalId).Title("Technical").Name("Technicals").DataTextField("Text").DataValueField("Value").BindTo(ViewBag.Technicals);}).BindTo(Model).DataSource(d => d.ServerOperation(true).Model(m =>{m.Id(f => f.TechnicalId);m.Field(f => f.Description).DefaultValue("No title");m.Field(f => f.IsAllDay).DefaultValue(false);}).Create("Grouping_Horizontal_Create", "CServiceOrder").Destroy("Grouping_Horizontal_Destroy", "CServiceOrder").Update("Grouping_Horizontal_Update", "CServiceOrder")))