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

ReportProcessor.Render Obsolete

3 Answers 224 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 05 Aug 2009, 01:36 AM
Hi, I just upgraded to 2009 Q2 and now I am getting obsolete message on:

reportBytes = Telerik.Reporting.Processing.ReportProcessor.Render(FileType, Report, Nothing, mimeType, FileType, encoding)

Tells me it's no longer a static function.. but if I  create an instance of the ReportProcessor:

 

Dim

RP As New Telerik.Reporting.Processing.ReportProcessor

 

reportBytes = RP.Render(FileType, Report, Nothing, mimeType, FileType, encoding)

I get syntax error:

"Access of shared member, constant member, enum member or nested type through an instance; Qualifying expression will not be evaluated."

How should I use this now?

Thanks

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Aug 2009, 07:32 AM
Hi Matt,

Take a look at this KB article (Exporting a report to PDF programmatically) that elaborates on how to proceed with the new RenderReport method. The documentation would be updated after the service pack release this week.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Garrison
Top achievements
Rank 1
answered on 24 Dec 2009, 05:26 AM
This link doesn't seem to work for me.
0
Ivan
Telerik team
answered on 29 Dec 2009, 12:53 PM
Hi Garrison,

Please, excuse us for the broken link. The correct link to the KB article is this: Exporting a report to PDF programmatically.

Happy Holidays!

Kind regards,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Matt
Top achievements
Rank 1
Answers by
Steve
Telerik team
Garrison
Top achievements
Rank 1
Ivan
Telerik team
Share this question
or