Get to know the new PdfViewer for Telerik UI for ASP.NET AJAX. We'll dive into its rich functionality and help you get familiar with everything it can bring to your web apps.
Have you heard the great news that one of the most anticipated components coming to Telerik UI for ASP.NET AJAX – RadPdfViewer for ASP.NET AJAX – is now live, and offers you the ability to visualize PDF files directly in the browser? Yes, in all modern browsers!
It's true, and if you are eager to get it right away and plug it in your Web Forms apps, you can download it from your Telerik.com account and give it a spin. The control is also showcased at PdfViewer Overview demo and documented here.
If you are curious to learn more about the new PdfViewer features and the benefits it can bring you, read on below:
It is extremely easy to set up the control. Just insert a ScriptManager on the page plus the highlighted two scripts and the PdfViewer declaration as shown below:
To specify the PDF file to be loaded, use the File property of the PdfjsProcessingSettings inner-section.
For more information on the properties, check out the Getting Started section.
Regardless of the browser used, you get the same nice looking and pixel perfect UX which you are already familiar with and expect from a Telerik control.
The component is fully responsive on both mobile and desktop. All you have to do to enable it is setting Width=’100%’:
The toolbar offers the following tools:
The built-in virtualization ensures that even the largest PDF file can be loaded and displayed in the component. This is also covered by the smooth scrolling offered by this feature.
The 21 available beautiful skins should be a perfect match for the design of your apps. If you need to customize them, this will be an easy task since they are based on only HTML5 and CSS3.
RadPdfViewer provides support for right-to-left presentation. RadPdfViewer considers the direction attribute set to the control itself or any parent HTML element:
The control not only allows you to load and display PDF documents, thanks to its integration with the Telerik Document Processing library (which is part of the Telerik ASP.NET AJAX and/or DevCraft bundles), you can easily upload and convert multiple files types like *.docx, *.rtf, *.html, *.txt, *.xlsx and even *.csv to PDF and to load the file in the PDF viewer. Check out the following integration demo, Convert, View and Download Different Formats.
Thanks to the rich client-side capabilities of the control, you have the ability to dynamically change the active page, to execute commands, add custom buttons and many more.
Your feedback is very important for us, since it help us to see your voice and what direction to take with the development of the products. As you saw above, the control is rich in functionality and features, but if you'd like to see something new or different please share it in the comments below or at the Feedback portal.
Rumen Jekov (@Rumen_Jekov) started his career at Telerik’s ASP.NET team in 2004 as a tech support engineer and passed through the position of a team lead to a product manager. He has answered more than 51,500 tickets helping customers to achieve their goals. Presently, he is a product owner of Telerik UI for ASP.NET AJAX and a manager of the AJAX crew at Progress. Off work, he enjoys traveling across the globe, watching movies and tech shows, reading books and listening to podcasts.
Subscribe to be the first to get our expert-written articles and tutorials for developers!