Completed
Last Updated: 14 Aug 2022 08:13 by ADMIN
Fadhilah
Created on: 12 Aug 2022 07:09
Category: UI for Blazor
Type: Feature Request
0
pdf

Hi, i have a blazor razor page that has several telerik elements - mainly grids, textboxes etc

 

i am wondering if there is such as feature where i can print the said page as a PDF?

1 comment
ADMIN
Marin Bratanov
Posted on: 14 Aug 2022 08:13

Hello Fadhilah,

You can use the Kendo UI Drawing library in a fashion similar to this sample project: https://github.com/telerik/blazor-ui/tree/master/common/pdf-jpg-export-js.

There is no native way to do this in Blazor, because you don't have access to the actual DOM and HTML rendering in C#, you always need to go to JS and the browser DOM API to get that, and so there is little need to add yet another layer of complexity to that by pulling it back to C# (and to the server if a server-side blazor flavor is used).

Regards,
Marin Bratanov
Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.