All Components


    SASS Theme Builder

    Create new or customize SASS themes
    Launch Theme Builder

    Grid / Export to PDF


    This page loads pako zlib library (pako_deflate.min.js) to enable compression in the PDF. This is highly recommended as it improves performance and rises the limit on the size of the content that can be exported.

    The Standard PDF fonts do not include Unicode support. In order for the output to match what you see in the browser you must provide source files for TrueType fonts for embedding. Please read the documentation about custom fonts and drawing.

    Drag a column header and drop it here to group by that column
    • 1
    items per pageNo items to display


    Nowadays, the PDF format is very popular and widely used to present documents in a manner independent of application software, hardware and operating systems. This demo demonstrates how to export the Telerik MVC Grid contents to PDF.

    The approach is very straight-forward - to export the grid content to PDF include the corresponding command to the grid toolbar .ToolBar(tools => tools.Pdf()) and configure the PDF export setting. For instance, you can specify the file name and whether to export all pages, margins, paper size, font, etc. To initiate export programmatically, you can call the saveAsPdf method from the client-side API.

    Additionally, you can customize the appearance of the exported grid table by attaching to the pdfExport event. Visit the following help article to learn exactly how to do that.

    ASP.NET MVC source

    Also available for:

    • pdf_export.cshtml
    • Pdf_ExportController.cs

    Support & learning resources

    Grid for other technologies