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

Export report to HTML

4 Answers 634 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kelly Harris
Top achievements
Rank 1
Kelly Harris asked on 22 May 2012, 03:50 PM
I am trying to export a report to embed within an email as HTML.  The report is just formatted text but can be quite lengthy (more than a couple pages).  When I RenderReport as PDF, it exports as expected.  When I RenderReport it renders what appears to be only one page.  I saw that there is Telerik.Reporting.Processing.ReportProcessor.Render that may render more than one page but it is Obsolete.  What is the appropriate process to export the html?

Thanks. 

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 May 2012, 03:56 PM
Hello Kelly,

Check the Exporting Report Programmatically help article and more specifically the "Exporting a report to a multi document format" section.

Greetings,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Kelly Harris
Top achievements
Rank 1
answered on 24 May 2012, 05:34 PM
Thanks for the reply Steve, as I mentioned in the first post, "I saw that there is Telerik.Reporting.Processing.ReportProcessor.Render that may render more than one page but it is Obsolete. "
Are you saying I should use an obsolete method?  Will I be able to count on it being there next release?
0
Accepted
Steve
Telerik team
answered on 28 May 2012, 10:02 AM
Hello Kelly,

There is some misunderstanding, the code snippet I've pointed you to uses the second overload of the RenderReport Method which is not obsolete. The Render Method has been obsolete for some time now and should not be used.

Regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Kelly Harris
Top achievements
Rank 1
answered on 29 May 2012, 06:11 AM
You are correct Steve, I was using the incorrect method.  
Tags
General Discussions
Asked by
Kelly Harris
Top achievements
Rank 1
Answers by
Steve
Telerik team
Kelly Harris
Top achievements
Rank 1
Share this question
or