or
$(function () { kendo.culture("it-IT"); $("#image").hide(); $("input:submit").addClass("k-button"); $("textarea").addClass("k-autocomplete"); var urlActionAddPic = $("#roomsAdd").attr("url-action"); $("#pictures").kendoUpload({ async: { saveUrl: urlActionAddPic }, localization: { select: "Seleziona Immagine" }, success: function (e) { WaitPopupHide(); $("#Picture_Url").val(e.response.Url); $("#image").attr("src", e.response.Url); $(".k-upload-files").remove(); $("#image").show(); }, select: function (e) { $.each(e.files, function (index, value) { if (value.extension == ".jpg" || value.extension == ".jpeg" || value.extension == ".JPG" || value.extension == ".JPEG") { WaitPopupShow(); } else { ShowPopup({ Success: false, Message: "Le immagini devo essere di tipo JPG", Title: "Attenzione!" }); e.perventDefault(); } }); }, multiple: false });Hey i found one bug/problem in kendo ui combo box while using it in cross-site iframe( facebook canvas ) this only happens in IE8(i don't know how is this with other IE versions), while in other browsers is ok(FF, Opera, Chrome).
Here is my combobox creation js code.
$("#test").kendoComboBox({ dataTextField: "text", dataValueField: "value", dataSource: [ { text: "None", value: "0" }, { text: "A", value: "1" }, { text: "B", value: "2" }, { text: "C", value: "3" }, { text: "D", value: "4" } ], filter: "contains", suggest: true});Access denied exception happensin kendo.list.min.js i was testing this using minified and opensourced version so i pulled this line out:
caret = Math.abs(selection.createRange().moveStart(CHARACTER, -element.value.length));
Cheers, PJ