Published on

Export Sitefinity Content to Pdf or MSWord


** UPDATE August-20-2015**
This broke for us on Sitefinity 8.1.  The fix is to open your telerik accounts, and hopefully you have access to the devcraft package or the WPF controls.  Download the zip, and replace all the Telerik.Windows.X.dlls with the latest (in our case 2015.2.817.45).  Very important to not forget add every Dll to your assembly bindings or things like document indexing will break.

One hidden gem in Sitefinity is that it contains tools from another Telerik division (WPF) which allows for document\file creation.  It’s not a 1/2 assed solution either.  Html-Pdf traditionally has been hard to pull off, and you’re either stuck with an OpenSource solution like iTextSharp or paying thousands for an Html-Pdf library which often contain insane licensing restrictions (Per Cpu, etc).

However for about the last 3-4 releases Sitefinity has the ability to do EXCELLENT Html-Pdf conversion via the RadDocument object.

It’s pretty simple too…you just load whichever format provider you need, create a RadDocument, and call Export…done and done.  We use this at the university to take a Sitefinity DynamicContent item and place the fields into a pre-defined external html template.  We then give the user the option to export as word or pdf loading in that same HTML.

Cool thing about this is the cost…$0 (Well I mean you bought Sitefinity, but it’s another free value-add)

Boost your online presence.

Let us create the perfect digital experience for your company.

Contact us now