or
var kendoOrderWindow = $("<div id='orderWindow' ></div>").kendoWindow({ title: "Order "+orderIndex, resizable: false, modal: true, width: 1000, draggable: false, content: "myURLcontent", open: function (e) { this.wrapper.css({ top: 50 }); }});kendoOrderWindow.data("kendoWindow") .center() .open()$("#button_close").click(function(e) { e.preventDefault(); $('#orderWindow').data("kendoWindow").close();});
kdsStudentInformation = new kendo.data.DataSource({ transport: { //transport: defines the URL endpoints for remote data (read/insert/update/delete) read: function (options) { $.getJSON(Helpers.toServicesUrl("/GetctrlEWSStudentInfoPanel"), { studentId: studentIDParm, //935824 username: WSIPCContext.UserName, schoolCode: schoolCodeParm, schoolYear: schoolYearParm, districtId: WSIPCContext.DistrictId }, function (data) { stuInfox = data.GetctrlEWSStudentInfoPanelResult.RootResults; kdsStudentInformation.data(stuInfox); loadStudent(); }).fail(function (jqXHR) { options.error(jqXHR); }); } //read }, //transport schema: { //tells the Data Source where to find the result set data: "stuInfox" } });$(
"#Grid").data("kendoGrid").tbody to find the elment in the grid where I want to display the validation error as a tooltip
295 iframe = $("<iframe />", { src: 'javascript:""', frameBorder: "0" })296 .css("display", "")297 .addClass("k-content")298 .insertBefore(textarea)[0];299 300 wnd = iframe.contentWindow || iframe;301 doc = wnd.document || iframe.contentDocument;<script>document.domain=document.domain;</script>