Completed
Last Updated: 15 Oct 2020 07:57 by ADMIN
Release 2020.R3.SP.next
Jorge
Created on: 22 Sep 2020 17:40
Category: ImageEditor
Type: Bug Report
0
ImageEditor - ProxyURL Does Not Accept String in Razor

Bug report

The Kendo UI ImageEditor's SaveAs.ProxyURL does not accept a string using Razor Syntax.

Current behavior

image

Expected/desired behavior

Like the jQuery configuration, the ProxyURL should accept string URLs.

Workaround

Utilizing the Kendo UI ImageEditor's setOptions method, configure the proxyURL with jQuery:

   $(function () {
        var imageEditor = $("#imageEditor").data("kendoImageEditor");

        imageEditor.setOptions({
            saveAs: {
                fileName: "ImageEditorFile.png",
                forceProxy: true,
                proxyURL: "Home/SaveProxyURL",
            }
        });
    });

Environment

  • Kendo UI version: 2020.3.915
  • Browser: All
0 comments