or
$(document).ready(function () { $("#grid").kendoGrid({ dataSource: { type: "json", transport: { read: "@Url.Content("~/reservation/grid")" }, schema: { data: "results", total: "total" }, pageSize: 25, serverPaging: true, serverSorting: true }, height: getGridContentHeight(), scrollable: true, sortable: true, pageable: true, columns: [ { field: "FormattedDate", title: "Date", width: "133px" }, { field: "FirstName", title: "First Name" }, { field: "LastName", title: "Last Name" }, { field: "TableName", title: "Table Name" }, { field: "PartySize", title: "Size" }, { field: "HasNotes", title: "Notes", template: "#=HasNotes#" == "true" ? "<a href=\"javascript:void(0)\" onclick=\"openNotes(#=CustomerKey#, #=ReservationKey#)\">View Notes</a>" : "N/A" }, { title: " ", template: '<a href="/admin/customer/profile?customerkey=#=CustomerKey#"><img src="@Url.Content("~/Content/Images/customer_profile.png")" alt="" /></a>', width: "131px" }, { title: " ", template: '<a href="/admin/reservation/change?customerKey=#=CustomerKey#&reservationkey=#=ReservationKey#"><img src="@Url.Content("~/Content/Images/change.png")" alt="" /></a>', width: "77px" }, { title: " ", template: '<a href="javascript:void(0)" onclick="openCancel(#=ReservationKey#)"><img src="@Url.Content("~/Content/Images/cancel.png")" alt="" /></a>', width: "77px" }, { title: "Checked In", template: '<div id="checkin-processing-#=ReservationKey#" class="checkin-processing"><img src="@Url.Content("~/Content/Images/ajax-loader.gif")" alt="" /></div><input id="checkin-#=ReservationKey#" type="checkbox" #=CheckedIn# == true ? "checked=\"checked\"" : "" onclick="checkInOut(#=ReservationKey#, this.checked)" />' } ] });});

<script type="text/javascript"> function toDate(value) { var dateRegExp = /^\/Date\((.*?)\)\/$/; var date = dateRegExp .exec(value); return new Date(parseInt(date[1]));}$(document).ready(function () { var dsPriceHistoryChart = new kendo.data.DataSource({ transport: { read: { dataType: "jsonp", data: { "BeginDate": "2011-10-01", "EndDate": "2011-10-27" } } }, schema: { data: function(data){ return $.parseJSON(data); } } }); $("#PriceHistoryGrid").kendoGrid({ groupable: true, sortable: true, pageable: true, scrollable: true, selectable: "row", dataSource: dsPriceHistoryChart, columns: [ { field: "BusinessDate", title: "Business Date", template: '#= kendo.toString( toDate(BusinessDate), "MM/dd/yyyy" )#' }, { field: "EffectiveDate", title: "Effective Date", template: '#= kendo.toString( toDate(EffectiveDate), "MM/dd/yyyy" )#' }, { field: "Test1", title: "Test1", }, { field: "Test2", title: "Test2", } ], }); $("#PriceHistoryChart").kendoChart({ title: { text: "Price History" }, dataSource: dsPriceHistoryChart, series: [ { type: "line", field: "Test1", name: "Test1" }, { type: "line", field: "Test2", name: "Test2" } ], categoryAxis: { field: "BusinessDate", labels:{ rotation: -90, template: '#= kendo.toString( toDate(BusinessDate), "MM/dd/yyyy" )#' } } }); dsPriceHistoryChart.read(); });</script>$("#PriceHistoryChart").kendoChart({ title: { text: "Price History" }, dataSource: dsPriceHistoryChart, series: [ { type: "line", field: "Test1", name: "Test1" }, { type: "line", field: "Test2", name: "Test2" } ], categoryAxis: { field: "BusinessDate", labels:{ rotation: -90 } } });schema: { data: function(data){ return $.parseJSON(data); }

jQuery(td.k-state-selected, td.k-state-selected, td.k-state-focused, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected, td.k-state-selected)<script> var max_votes = 10; var sliderTotals = getSliderTotals(max_votes); function getSliderTotals(val){ return val; } function sliderOnSlide(e) { // the current value of the slider var orig_value = this.value(); // the new value var new_value = e.value; if(new_value > orig_value){ new_max_votes = (max_votes - new_value); } } function sliderOnChange(e) { //console.log("Slide :: new slide value is: " + e.value); } $(document).ready(function() { $(".slider").kendoSlider({ showButtons: false, change: sliderOnChange, slide: sliderOnSlide }); });</script>