New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Incorrect PDF File When Exporting Grid Data in Firefox

Environment

Product Version 2022.1.412
Product Telerik UI for ASP.NET MVC Grid

Description

When exporting the Grid's data to PDF and using the Firefox browser, the file is being opened but the data is missing. The pages contain only the headers. Also, when opening the document with Adobe Acrobat, an error occurs. How to resolve the issue?

Solution

Add the WebComponentsIcons font that is used for the Kendo UI font icons.

<script>
    kendo.pdf.defineFont({"WebComponentsIcons":"https://kendo.cdn.telerik.com/2022.1.412/styles/fonts/glyphs/WebComponentsIcons.ttf"});
</script>

 // Grid declaration

More ASP.NET MVC Grid Resources

See Also

In this article