Hi,
I use a KendGrid with a custom local dataSource, in method create we use a jQuery ajax call and on success we call the method e.success(e.data) as documented.
In kendogrid we have the follwing in onKeyDown event:
grid.saveRow(); //to save the row data
grid.dataSource.sync(); //sync the da source the transport create is correctly called
grid.addRow();
the effect is the following the new row is crerated but when the async call in transport read method and we invoke the e.success(e.data) the focus is lost and we exit from the editing of the new row.
Could you help us to fix this issue
Thanks,

I am creating a Client Template column in Kendo grid of type number as follows.
columns.Bound(c => c.MaxAcceptable).ClientTemplate("<Input type='number' name= 'ColName3[#=index(data)#].MaxAcceptable' value='#= MaxAcceptable #' id='MaxAcc' readonly min='0' max='7200'/>"
Initially the field is readonly and this attribute is removed using jquery when a checkbox is checked in another column in the same grid so that the user can enter/change the value.
$(cols).find("[id=MaxAcc]").attr('readonly', false);
However, when readonly is made false the spinners do not appear in Internet Explorer (any version) but they work fine in Chrome & Firefox. The user can still use the keyboard to input numeric values but the spinners do not come back and also up/down arrows in keyboard do not work. - Attached screenshot.
_Layout.cshtml file has the following tags
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Kendo version - 2015.1.408
Can you please help me out?
Hi,
I need to add validation on Insert button while adding Hyperlink to text. Validation will be like, URL for hyperlink should start with either http or https.
Please refer the attached image
Thanks.
Hi
I am trying to use the Kendo Scheduler for a roster application. Our client has a long working hour spanning the day boundary, from 9am to 2am (next day). I try to configure the Kendo schedule HTML control to do it but without success so far, please help, this might be a potential bug.
I have tried to set working day setting of the scheduler
workDayStart: new Date(1901, 1, 1, 9, 0, 0),
workDayEnd: new Date(1901, 1, 1,23, 0, 0),
and I have tried to set the range of the timeline view
views: [{type: 'timeline', title: 'Shift working hour view', startTime: new Date(1901, 1, 1, 8, 0, 0), endTime: new Date(1901, 1, 2, 3, 0, 0)}]
Both of above give me the same result, the schedule grid is showing correctly with the correct start and end time (spanning the day range), however none of my events are showing.
The events works fine if I use the show full day option or if when I set the startTime and endTime to be on the same day. Is this a bug in the scheduler or I am missing something here.
I have manage to replicate this issue using a Scheduler demo code as base
http://demos.telerik.com/kendo-ui/scheduler/resources-grouping-vertical
and my modification in Dojo where I apply the custom time range and events are not displaying anymore
http://dojo.telerik.com/@shenglin@mhinteractive.co.nz/ECAWO/3
Thank you
Shenglin
Hi,
I'm trying to preventing the creation or updating of a task with the same route_id and the same period of a another task.
Here is my code : http://dojo.telerik.com/@idoglik6/ocavO
I'm using a function called : isRouteAlreadyScheduledInside() to find out if the user can continue with the save process or not.
if not the flag "sameRouteLocation" is on and the tooltip pop up.
My problem is that: It's not working so well and the tooltip icon pop up with delay.
I would be happy to use the build-in tooltip "k-tooltip-validation" with my condition (isRouteAlreadyScheduledInside) on my select called "Route".
Thanks,
Ran

Hi,
In our application we have template which contains paragraph with span, which is responsible for holding list of selected files to upload. E.g.:
<p> <span class="filenames-holder"></span></p>
_fillEmptyElements: function(body) { // fills empty elements to allow them to be focused $(body).find("p").each(function() { var p = $(this); if (/^\s*$/g.test(p.text()) && !p.find("img,input").length) { var node = this; while (node.firstChild && node.firstChild.nodeType != 3) { node = node.firstChild; } if (node.nodeType == 1 && !dom.empty[dom.name(node)]) { node.innerHTML = kendo.ui.editor.emptyElementContent; } } });},Is there an option to prevent Editor from doing it?
Radosław Maziarka

Hi,
I am upgrading to Kendo UI Pro 2015.3.1111 and have this error: 'Cannot read property 'draggable' of undefined' with the RangeSlider widget. This happens each time when I grab an end of the range and drag it.
I can reproduce the error by choosing to edit your example at http://demos.telerik.com/kendo-ui/slider/api and then running the example and sliding the range slider. I see the example is using the exact same version
Any idea when this would be fixed or is it already on the radar?
Cheers,
Rob.
Hi,
I am in need to export an HTML page to PDF. However, I want to place an image on a specific location on the exported PDF. Is this doable with the current PDF Export feature?
Thank you,
I'm running Kendo UI v2015.3.1111 on IE 11.
I have an MVC6 controller action that looks like this:
public IActionResult GetJsonData(Guid id){ var temp2 = "[{\"id\": 1, \"Product\": \"Mower\", \"MSRP\": 189.99}, {\"id\": 2, \"Product\": \"Imagine Fountain\", \"MSRP\": 59.99}]"; return Json(temp2);}On the client, my javascript function looks like this:
function ApplyGrid(componentId) { $('#grid01').kendoGrid({ dataSource: { transport: { read: { url: '/Data/GetJsonData/' + componentId, dataType: 'json' } }, schema: { data: 'data' } } });}This generates the following exception:
Unhandled exception at line 11, column 28216 in http://localhost:51518/kendo/kendo.all.min.js0x800a138f - JavaScript runtime error: Unable to get property 'slice' of undefined or null referenceHow should my controller action return the json data? Or is there a different setting in the kendoGrid I should be using?