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

How to find rendering type of report on runtime to do a conditional formatting based on report type

3 Answers 86 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Farhad
Top achievements
Rank 1
Farhad asked on 15 Oct 2013, 11:20 PM
I'm wondering how to find the report format type (PDF, HTML, RTF, CSV, ...) to be able to conditionally choose the correct image (based on resolution) in my case (Something like RenderFormat global parameter in SSRS)., any idea?

3 Answers, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 18 Oct 2013, 11:39 AM
Hi, which report viewer you use?
0
Farhad
Top achievements
Rank 1
answered on 18 Oct 2013, 01:58 PM
I tried HTML5 report viewer recently, and most probably I'll use ASP.NET MVC report viewer. For current test application I implemented by ASP.NET (.aspx) report viewer in an MVC app.
0
Accepted
Stef
Telerik team
answered on 21 Oct 2013, 03:34 PM
Hi Farhad,

You can modify the report definition based on the target media before displaying/processing it. If you need custom settings on export, you can programmatically export a modified version of the originally previewed report and return the file to the client.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

Tags
General Discussions
Asked by
Farhad
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
Farhad
Top achievements
Rank 1
Stef
Telerik team
Share this question
or