Telerik UI for ASP.NET Core PDFViewer Basic Usage

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
HtmlHelper
TagHelper
Files:
index.cshtml
IndexController.cs
index_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API
devcraft ninja image

The PDFViewer component is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik UI for ASP.NET Core PDFViewer component enables end-users to review PDF files directly within the browser without the need to perform download operation at first hand. The component also provides flexibility to choose the PDF framework that is to be used for processing the file, allowing you to work with either PDFjs or the Telerik Document Processing libraries.

The current example displays a common use-case scenario for a PDFViewer component which loads an arbitrary PDF file using the PDFjs client-side library

The ASP.NET Core PDFViewer control is part of Telerik UI for ASP.NET Core, a professional-grade UI library with 110+ components for building modern and feature-rich web applications. The UI for ASP.NET Core PDFViewer is a server-side wrapper for the Kendo UI for jQuery PDFViewer component and supports an HtmlHelper and a TagHelper mode.

Functionality and Features

  • PDFjs processing—If you have not explicitly configured a processing configuration, the PDFViewer will use the PDF.js library.
  • DPL processing—You can use the Telerik Document Processing library for PDF processing on the server side.
  • Toolbar and tools—The PDFViewer provides a built-in toolbar which enables you to control the number and type of the rendered tools by initializing the items collection only with the tools that you consider as mandatory.
  • Accessibility—The PDFViewer is accessible for screen readers, supports WAI-ARIA attributes, and delivers keyboard shortcuts for faster navigation.

Additional Apps

This PDFViewer example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources