I have a field in my Scheduler's dataSource schema that's referenced in a resource to provide custom colors to the Schedule events. The resource gets the color definitions dynamically. When the "editable" and "edit" properties are commented out in my example, the scheduler uses the standard edit popup, and the drop-down is populated correctly (see standardEdit.png). When the properties are uncommented, the scheduler uses my custom definition, but the contents of the drop-down display incorrectly (see customEdit.png). How do I define a custom template so the drop-down diaplays the same as in the standard template?
Hello.
When I close a kendowindow in Safari it blinks but it does not close. After that, the close button disappeared and I can not close it.
This is just in safari
thanks in advance

Hi,
I am trying to use the Kendo Upload control to post my file to a web server on a different domain. Ultimately I intend to host my front end as pure html and my API which is built on ASP.Net on different servers.
For my API I have added the below headers which works fine for JSON requests however the Upload component is failing with the following error
XMLHttpRequest cannot load http://10.0.1.14/TransformWS/UploadFile.aspx. Origin http://localhost is not allowed by Access-Control-Allow-Origin.
I have tested the component on the same server as the upload script and I can confirm that it works perfectly.
HttpContext.Current.Response.AddHeader("Access-Control-Allow-Origin", "*");
if (HttpContext.Current.Request.HttpMethod == "OPTIONS")
{
HttpContext.Current.Response.AddHeader("Access-Control-Allow-Methods", "GET, POST"); HttpContext.Current.Response.AddHeader("Access-Control-Allow-Headers","Content-Type, Accept");
HttpContext.Current.Response.AddHeader("Access-Control-Max-Age","1728000");
HttpContext.Current.Response.End();
}
Is it possible to do cross domain posts with Upload?
Kind regards,
Nic
Hi! I have Editor control, which I use for a comments section on one of my pages.
I use FileBrowser to select attachments.
Here are the issues I found:
my code:
01.$("#commentEditor")02. .kendoEditor({03. resizable: {04. content: true,05. toolbar: true06. },07. tools: [08. "bold", "italic", "underline", "strikethrough", "fontName", "fontSize", "foreColor",09. "backColor", "justifyLeft", "justifyCenter", "justifyRight","insertUnorderedList",10. "insertOrderedList", "indent", "insertFile", "pdf"11. ],12. fileBrowser: {13. transport: {14. read: function(options) {15. $.ajax({16. url: "api/PAWorkOrderDocuments/Source/" + woId,17. success: function (result) {18. // notify the data source that the request succeeded19. self.attachments = result;20. options.success(result);21. },22. error: function (result) {23. // notify the data source that the request failed24. options.error(result);25. }26. });27. },28. uploadUrl: "/api/PAWorkOrderDocuments/Upload/" + woId,29. fileUrl: function (options) {30. var url = "";31. for (var i = 0; i < self.attachments.length; i++) {32. if (self.attachments[i].name === options) {33. url = "/api/PAWorkOrderDocuments/Download/" + self.attachments[i].ID.toString();34. break;35. }36. }37. return url;38. }39. }40. }41. });
Hello,
I use
RequireJS to load Kendo according to a post in StackOverflow (http://stackoverflow.com/questions/18671338/inject-kendo-ui-with-requirejs)
and it works. jQuery is loaded first, then Kendo. But I got an error "kendoButton
is not a function" (applies to all Kendo UI components, but here I use
kendoButton as an example). Here is my app.js.
require.config({
paths: {
"jquery": "lib/kendo-ui/jquery.min",
"jquery-ui": "lib/jquery-ui.min",
"kendo-ui": "lib/kendo-ui" // this is
a directory containing all Kendo files
},
shim: {
"kendo-ui/kendo.button.min": {
deps: ["jquery"]
},
"kendo-ui/kendo.core.min": {
deps: ["jquery"]
}
}
});
require(["jquery", "kendo-ui/kendo.core.min", "kendo-ui/kendo.button.min"],
function ($)
{
$("#primaryTextButton").kendoButton();
});
Kendo
troubleshooting says that jQuery should be included just once (yes, I have) and
all the required Kendo files are included (yes, I included kendo.core.min.js).
I use
RequireJS 2.2.0, Kendo 2016.1.226, and jQuery version, which is included in the
Kendo package. Can someone point out what's wrong?
Thanks and regards,
Stefan
Good Evening,
I currently have a chart, and it's rending as expected, but the problem comes in when trying get the tools tips working.
Here is what the data will look like...
{
name: system 1,
data: [100,200,300],
hitDates: [01-01-2016, 01-02-2016, 01-03-2016]
},
{
name: system 2,
data: [400,500,400],
hitDates: [01-01-2016, 01-02-2016, 01-03-2016]
}
So as you can see, 'Name' is a string and data and hitDates are arrays but will be equal in length.
I've tried everything to get get the tooltip to bind to simply show per point (name, data(hits), and hitDates)
series.name works fine, but since data and hitDates are arrays, it simply prints out the complete array. I've even tried series.data[series.index] and index seems to always be 0. I've tried dataItem.data and that just comes back as undefined.
Any help would be GREATLY appreciated.
Thanks In Advance
It seems that making changes to the selected values from the UI, doesn't update $scope.selectedItems, nor does updating $scope.selectedItems through JavaScript update the View.
01.<select kendo-multi-select02. id="'itemMultiSelect'"03. ng-if="itemDataSource"04. k-data-placeholder="'Select items...'"05. k-ng-model="selectedItems"06. k-data-source="itemsDataSource"07. k-data-text-field="'itemyName'"08. k-data-value-field="'itemId'"09. k-value-primitive=false10. k-auto-close=false11. k-on-select="onSelect(kendoEvent)">12. </select>