or
var crudServiceBaseUrl = "main.php?a=quote_detail", dataSource = new kendo.data.DataSource({ transport : { read : { url : crudServiceBaseUrl + "&read=1", dataType : "json" }, update : { url : crudServiceBaseUrl + "&update=1", dataType : "json", complete: function(e) { $("#grid").data("kendoGrid").dataSource.read(); } }, destroy : { url : crudServiceBaseUrl + "&destroy=1", dataType : "json" }, create : { url : crudServiceBaseUrl + "&create=1", dataType : "json", complete: function(e) { $("#grid").data("kendoGrid").dataSource.read(); } } }, batch : true, pageSize : 10, serverPaging : true, serverFiltering : true, serverSorting : true, schema : { data: "data", total: "total", model : { id : "ID", fields : { company : { validation : { required : true } }, effective_date : { validation : { required : true } }, fee : { validation : { required : true } }, guarantee : { validation : { required : true } }, state : { validation : { required : true } }, application : { } } } }});$("#grid").kendoGrid({ dataSource : dataSource, pageable : true, height : 430, refresh: true, toolbar : ["create"], columns : [{ field : "company", title : "Company", editor: companyList }, { field : "effective_date", title : "Effective Date" }, { field : "fee", title : "Fee" }, { field : "guarantee", title : "Guarantee" }, { field : "state", title : "State", editor: stateList }, { field : "application", title : "Application", editor: appList }, { command : ["edit", "destroy"], title : " ", width : "160px" }], editable : "inline"}); var combo=$("#input_customer").kendoComboBox({ dataTextField: "title", dataValueField:"entry_id", filter:"contains", minLength: 3 }).data("kendoComboBox"); var customer_ds=new kendo.data.DataSource({ transport: { read: { type:"POST", dataType: "json", serverFiltering:true, data:{keywords:combo.text()}, url: "ajax/customer" } } }); $("#input_customer").data("kendoComboBox").setDataSource(customer_ds);<div data-role="navbar"> <a class="nav-button" data-align="left" data-transition="slide:left" data-role="backbutton">Back</a> <span data-role="view-title"></span> <a data-align="right" data-role="button" data-transition="slide:left" class="nav-button" href="#tabstrip-home">Home</a></div><div data-role="splitview"> <div data-role="pane" id="side-pane" data-layout="side-default"> <div data-role="view" data-title="Level 1" id="menu-root"> <ul data-role="listview"> <li><a href="#menu-sub" >Sub Menu</a></li> </ul> </div> <div data-role="view" data-title="Level 2" id="menu-sub"> <ul data-role="listview"> <li><a href="#test" data-target="main-pane">Test</a></li> <li><a href="#messages" data-target="main-pane">Messages</a></li> </ul> </div> <div data-role="layout" data-id="side-default" > <div data-role="header"> <div data-role="navbar"> <span data-role="view-title"></span> </div> </div> </div> </div> <div data-role="pane" data-layout="main-default" id="main-pane"> <div data-role="view" data-title="Test" id="test"> <p>Test!</p> <a href="#messages" data-role="button">Go To Messages</a> </div> <div data-role="view" data-title="Messages" id="messages"> <p>Messages!</p> </div> <div data-role="layout" data-id="main-default"> <div data-role="header"> <div data-role="navbar"> <span data-role="view-title"></span> </div> </div> </div> </div> </div>
@if (item.IsActionAvailable()) { using (Html.BeginForm("Subscribe", "abc", FormMethod.Post, new { id = @formId })) { <div id="@divId" class="subForm">@(Html.Kendo().Grid(Model.Items as IEnumerable<XYZ>) .Name("KendoCrGrid") .Columns(columns => { columns.Bound(e => e.SignUpDate).ClientTemplate("#= <condition> ? kendo.toString(date, 'MM/dd/yyyy')#");