or
@(Html.Kendo().Grid<CompanyDomainView>() .Name("customer-grid") .ClientDetailTemplateId("customerTemplate") ........<script id="customerTemplate" class="gridtemplates" type="text/x-kendo-tmpl"> <section> <div class="k-widget inline-grid-box">.....Date.prototype.addHours = function (h) { this.setTime(this.getTime() + (h * 60 * 60 * 1000)); return this;} var d = new Date(e.event.start) d.addHours(1) $("#endx").kendoDateTimePicker({ value: d });