Last Updated: 04 Aug 2016 11:41 by ADMIN
Ole Oscar
Created on: 20 Aug 2014 07:19
Category: UI for WPF
Type: Feature Request
Moved to TDP: Support for browser-like, client side conversion from HTML to PDF
We need to produce a pdf copy of an html(aspx) page and stream it to the client. Many of components in your library uses Javascript to create html. 
When you create the support for pdf we would like to use your library to do this job.
At the moment we are using another third party library to do this since it also supports Javascript.
Posted on: 04 Aug 2016 11:40
This item is moved to the following address:
Posted on: 03 Nov 2014 14:58
Hi Ole Oscar,
Thank you for the detailed explanation. 

We discussed your feedback internally again and decided that we might be able to include similar functionality in a future release if there is interest for it. I changed the status of the issue to Approved and you will be notified about any other changes through this item.
Ole Oscar
Posted on: 01 Oct 2014 16:24
We are creating highly detailed online information using RadGrid and HtmlGraph and other elements. Since more and more of your components are using Javascript to render instead of html on the server side, it will be a problem to get a complete html to use in your FlowDocument solution to produce documents.
Our users needs make PDF copies of the whole ASP.NET page(s) and we can't tell them to install a PDF printer driver on the client and so on. It needs to work "Just out of the box" with standard browser settings. At the moment we are using an another library with two buttons "Save as PDF" and "Email it" button on the page. Then the user will get a copy of the whole aspx page.

Later it will also come a requirement to archive a PDF copy of the information the user has requested.

Earlier we tried to use report generators to do this, but with no major "success".

I don't know the best solution/witch part of your library that is the best place to start, but I saw the HtmlFormatProvider that might be a starting point since it handles html reading but missing "Javascript" rendering into the dom. When this is done we wants to take the complete html and produce a PDF document.

Then the next thing is to have an aspx control that can handle the rendering from aspx and create the result that can be downloaded to the client or sent as e-mail.

The reason for this request is that we have multiple third party vendors in our solution and we want to cut down on the numbers/licences fees. For us Telerik is one of the preferred suppliers of solutions, therefore the request. 

Ole Oscar
Posted on: 01 Oct 2014 15:44
Hi Ole Oscar,
Could you elaborate on the desired result a bit? Are you looking to embed JavaScript actions in a PDF document? 
In case you are looking for a way to export HTML in the way browser renders it (e.g. if something is hidden through JavaScript, it is not shown in the generated PDF), I’m afraid we are not planning the implementation of such functionality in the Telerik UI for WPF suite. You could try submitting this piece of feedback in the Telerik UI for ASP.NET AJAX portal, as the feature seems more suitable for a web-based technology: