Completed
Last Updated: 05 Aug 2024 08:40 by ADMIN
Release 2024 Q2 (May)
Created by: Dan
Comments: 0
Category: PDFViewer
Type: Bug Report
0

Bug report

A specific PDF file (example can be found in ticket : 1493640) shows upside down in DPL case

Reproduction of the problem

Run the DPL processing demo locally and replace the file with the one provided in the ticket

Current behavior

The file is shown upside down

Expected/desired behavior

The file should not be rendered upside down

Environment

  • Kendo UI version: 2020.3.1021
Completed
Last Updated: 12 Oct 2023 10:20 by ADMIN
Created by: Ravi
Comments: 5
Category: PDFViewer
Type: Feature Request
11

1. Allow the elastic behavior of the PDFViewer's mobile scroller to be disabled. Currently, when scrolling to the top or to the bottom, the document jumps and then immediately re-adjusts its position under the widget's header/bottom border.

2. Add the ability to manually scroll the document up/down with mousedown.

3. Add keyboard scrolling support.

Completed
Last Updated: 04 Jun 2021 13:14 by ADMIN
Release 2021.R2.SP.next

Bug report

The PDFViewer HTML helper incorrectly serializes the passed to its "File" configuration URL, when the URL has an ampersand(&) sign in it. In the output of the HTML helper, the ampersand is changed with its ASCII code - "\u0026"

  • The issue is reproducible both in the UI for ASP.NET Core and UI for ASP.NET MVC suites.

Reproduction of the problem

  1. Create an ASP.NET Core or MVC project
  2. Paste the below code in it and run it
    @(Html.Kendo().PDFViewer() .Name("pdfviewer-test") .PdfjsProcessing(pdf => pdf .File("https://myrandomcomain.com/api/MyFolder/GetPDF?reference=xxxxxxxx&param1=0&param2=100&contentType=application/pdf") ) .Height(400) )
  3. View the source of the opened page and see the generated Javascript code

Current behavior

The generated code is:
jQuery("#pdfviewer-test").kendoPDFViewer({"pdfjsProcessing":{"file":{"url":"https://myrandomcomain.com/api/MyFolder/GetPDF?reference=xxxxxxxx\u0026param1=0\u0026param2=100\u0026contentType=application/pdf"}},"height":400});

Expected/desired behavior

The expected result is
jQuery("#pdfviewer-test").kendoPDFViewer({"pdfjsProcessing":{"file":{"url":"https://myrandomcomain.com/api/MyFolder/GetPDF?reference=xxxxxxxx&param1=0&param2=100&contentType=application/pdf"}},"height":400});

Environment

  • Kendo UI version: 2020.1.219
  • jQuery version: x.y
  • Browser: [all]