This is a migrated thread and some comments may be shown as answers.

Export webpage to PDF and Word

2 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 11 Jan 2011, 12:02 AM
Hi.

Is it possible to export the content of a webpage to PDF or Word or does the content have to be within a RadGrid, Telerik Report of RadEditor?

At a push I could get the content appearing in a RadEditor and use that components built in export functions but it's not ideal. And I can only Export to PDF or RTF. And the RTF format does not render html tables or images which means that's a non-starter.

Thanks
Chris

2 Answers, 1 is accepted

Sort by
0
Thomas Salt
Top achievements
Rank 1
answered on 12 Jan 2011, 03:06 PM
A possible solution would be to change the content type of the page to a word document and then create the table structure of the webpage accordingly in the code behind.  I don't think Telerik has an "export page to word" functionality unless it's a report/grid/etc, like you said.

0
Daniel
Telerik team
answered on 13 Jan 2011, 11:13 PM
Hello Chris,

Thomas is right, you can use some sort of a workaround (e.g. change the content type to msword) or a third-party export library.

Please excuse us for any inconvenience caused.

Best regards,
Daniel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Thomas Salt
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or