Kelly Harris
Posted
on May 22, 2012
(permalink)
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.
Reply
Steve
Steve
Posted
on May 22, 2012
(permalink)
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 >
Reply
Kelly Harris
Posted
on May 24, 2012
(permalink)
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?
Reply
Answer
Steve
Steve
Posted
on May 28, 2012
(permalink)
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 >
Reply
Kelly Harris
Posted
on May 29, 2012
(permalink)
You are correct Steve, I was using the incorrect method.
Reply