Unplanned
Last Updated: 24 Apr 2023 14:19 by ADMIN
Shuja
Created on: 19 Apr 2023 18:43
Category: PDFViewer
Type: Feature Request
0
i want download event like you have events like error and open for kendo pdf viewer

Hi,

I am stuck in issue kendo pdf viewer download button not downloding pdf instead it previewing it, so please provide download event so i can fixed that issue

$("#pdfViewer").kendoPDFViewer({
        pdfjsProcessing: {
            file: "../sample.pdf"
        },
        width: "100%",
        height: 700,
        render: function (e) {
            kendoConsole.log("page rendered: " + e.page.pageNumber);
        },
        open: function (e) {
          debugger;
            kendoConsole.log("file opened: " + e.file.name);
        },
        error: function (e) {
            kendoConsole.log("error message: " + e.message);
        },
      download: function (e) {
        debugger;
            kendoConsole.log("error message: " + e.message);
        },
    })

 

1 comment
ADMIN
Veselin Tsvetanov
Posted on: 24 Apr 2023 14:19

Hi Shuja,

I have just converted your ticket to a feature request in our Feedback portal. Here is the public link to the item:

https://feedback.telerik.com/kendo-jquery-ui/1605999-i-want-download-event-like-you-have-events-like-error-and-open-for-kendo-pdf-viewer

Please, cast you vote for it as this is how we measure the interest among the community in a given feature.

Regards,
Veselin Tsvetanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.