Skip to content
Advertisement

How can load file to Kendo PDF Viewer?

I have the following PDF Viewer in my view, How can I update pdf.File(Url.Content("~/pdf/test.pdf") based on the selected project.

JavaScript

Advertisement

Answer

You can load the pdf like so – I can’t test this right now, so there may be some typo’s but this is based on the example located here: https://demos.telerik.com/aspnet-mvc/pdfviewer/api

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement