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

4 posts, 1 answers
  1. Farhad
    Farhad avatar
    3 posts
    Member since:
    Jul 2013

    Posted 15 Oct 2013 Link to this post

    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?
  2. Squall
    Squall avatar
    174 posts
    Member since:
    Feb 2011

    Posted 18 Oct 2013 Link to this post

    Hi, which report viewer you use?
  3. DevCraft banner
  4. Farhad
    Farhad avatar
    3 posts
    Member since:
    Jul 2013

    Posted 18 Oct 2013 Link to this post

    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.
  5. Answer
    Stef
    Admin
    Stef avatar
    3036 posts

    Posted 21 Oct 2013 Link to this post

    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.

Back to Top