When trying to upload an image in ie9 it asks if I want to save or open the image. See attached screenshot. On some final user machine I have the same situation in firefox. The code is the following block:
I attempted to use the code for select event also in upload event: same result. I also attempted to avoid the WaitPopupShow function: same result. What I can do to resolve this behavior??
thanks
Cristian Scotti
"
$(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 });I attempted to use the code for select event also in upload event: same result. I also attempted to avoid the WaitPopupShow function: same result. What I can do to resolve this behavior??
thanks
Cristian Scotti
"