Unplanned
Last Updated: 14 Apr 2021 09:02 by ABIC

Bug report

Reproduction of the problem

Reproducible in the demos: https://demos.telerik.com/kendo-ui/pdfviewer/index

  1. Shrink the browser window so that the zoom tool goes into the overflow menu.
  2. Click on the overflow button to open the menu.

Current behavior

The zoom tool is disabled.

Expected/desired behavior

The zoom tool is enabled.

Environment

  • Kendo UI version: 2021.1.330
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 18 Jan 2021 09:09 by ADMIN
Release 2021.R1
Created by: Ken
Comments: 0
Category: PDFViewer
Type: Bug Report
5

Bug report

A server side exception:
System.OverflowException: 'Value was either too large or too small for a Double.'
is thrown on attempting to serialize an existing .pdf file converted to FixedDocument.

Reproduction of the problem

  1. Use the DPL Processing demo of the PDFViewer in the MVC demos project.
  2. Instead of the default sample.pdf load the Development Plan.pdf file provided in Ticket ID: 1467984
public ActionResult GetInitialPdf(int? pageNumber)
{
    //exception with Development plan.pdf file:
    string filePath = Path.Combine(Server.MapPath("~/Content/web/pdfViewer"), "Development Plan.pdf");
    //it works with the sample.pdf file:
    //string filePath = Path.Combine(Server.MapPath("~/App_Data"), "sample.pdf");
    FileStream stream = new FileStream(filePath, FileMode.Open, FileAccess.Read);
    JsonResult jsonResult;
    FixedDocument doc = FixedDocument.Load(stream);

    if (pageNumber == null)
    {
        jsonResult = Json(doc.ToJson(), JsonRequestBehavior.AllowGet);
    }
    else
    {
        jsonResult = Json(doc.GetPage((int)pageNumber), JsonRequestBehavior.AllowGet);
    }

    jsonResult.MaxJsonLength = int.MaxValue;
    return jsonResult;
}

Current behavior

The exception is thrown during the FixedDocument JSON serialization:

doc.ToJson()

at the following place: ConvertToList method in ArrayExtension class (Telerik.Web.PDF namespace)

Expected/desired behavior

No exceptions are thrown during serialization.

Environment

  • Kendo UI version: 2020.2.513
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 14 Oct 2020 08:36 by ADMIN
Release 2020.R3.SP.next
Created by: Margarita
Comments: 0
Category: PDFViewer
Type: Bug Report
0

Bug report

There is empty title attribute of PDFViewer zoom level combobox

Reproduction of the problem

  1. Go to https://demos.telerik.com/kendo-ui/pdfviewer/index
  2. Inspect the zoom level combobox

Current behavior

Empty "title" attribute

Expected/desired behavior

The "title" attribute of the combobox explains the purpose of the combobox, e. g. Zoom level combobox

Environment

  • Kendo UI version: 2020.2.617
  • Browser: all
Unplanned
Last Updated: 31 Aug 2020 10:47 by ADMIN
Created by: Narendra
Comments: 4
Category: PDFViewer
Type: Feature Request
7
Can you implement a scrollbar for the PDF viewer control? The current scrolling doesn't allow the user to grab the scrollbar and do the scrolling.
Unplanned
Last Updated: 21 Jul 2020 11:40 by ADMIN
Created by: Margarita
Comments: 0
Category: PDFViewer
Type: Feature Request
0

Currently, the search in PDF Viewer is performed on every keypress in the search input field. 

The search performance of the widget could be improved if there is a possibility to perform a search on pressing "Enter". Another valuable enhancement could be a configuration that allows the search to be performed after entering a certain number of symbols. 

Unplanned
Last Updated: 09 Dec 2019 13:32 by ADMIN
Created by: Albert
Comments: 1
Category: PDFViewer
Type: Feature Request
0
Please add keyboard scrolling support for the PDFViewer control. Scrolling through files with a lot of pages is very difficult.
Unplanned
Last Updated: 21 Nov 2019 08:49 by ADMIN

Hi,

 

i tested the updated pdfviewer of version 2019.3.1023, but it did not work as expected.

I have some questions about usage und customizing

  1. How can i customize the toolbar actions, primary the print action/command? See the dojo link
  2. Is it possible to get the print window result of the pdf viewer?
  3. Is it possoble to call the print command? I tested the execute function, but it doesn't work. I get only an error (this is not an constructor...)
  4. the download function download every time a document.pdf, the assigned name is ignored

https://dojo.telerik.com/EmErekOB

 

Regards

Christian

Unplanned
Last Updated: 04 Nov 2019 15:06 by ADMIN

Bug report
Open a pdf file with links in PDF Viewer. Links are not clickable.

Reproduction of the problem
Open the demo for the PDF Viewer
Open a file, containing links
Click on a link

Current behavior
Clicking on a link does not redirect to the page

Expected/desired behavior
Clicking on a link should redirect to the link.

Environment
Kendo UI version: 2019.3.1023

Browser: [all]

Completed
Last Updated: 16 Sep 2019 14:23 by ADMIN
Release 2019.R3

Bug report

The toolbar.click is not serialized correctly when a custom button is added to the ToolBar of the widget. Thus, the click event is not being executed.

Reproduction of the problem

@(Html.Kendo().PDFViewer()
    .Name("test")
    .PdfjsProcessing(pdf => pdf.File(""))
        .Toolbar(t => t.Items(i =>
            {
            i.Add().Name("Open").Id("Open").Command("OpenCommand").Type("button").Icon("folder-open");
            i.Add().Name("Print").Id("Print").Type("button").Icon("print").Click("onPrintClick");
        }))
        .Height(500)
)

<script>
   function onPrintClick(e) {
        alert(e);
    }
</script>

Current behavior

toolbar is not serialized correctly.

Expected/desired behavior

toolbar.click should be serialized correctly.

Environment

  • Kendo UI version: 2019.2.516
  • Browser: [all]