How to change the encoding format dynamically using report viewer

3 posts, 0 answers
  1. Gopinath
    Gopinath avatar
    63 posts
    Member since:
    Sep 2011

    Posted 05 Jan 2015 Link to this post

    1. Hi,
      Currently my Client is converting pdf document which is generated to AFP document before printing them.But they are facing issues while converting PDF to AFP and then to print. They are getting blank screen while conversion.

      In our investigation we found that in his system encoding format is ANSI , but ours is Identity-H.

      So we want to change the encoding to ANSI while generating pdf document.

      Below is the sample code we are using
       1) aspx.cs file
            Telerik.Reporting.ReportBook rptListBook = new Telerik.Reporting.ReportBook();
            rptListBook.Reports.Add('Adding some report item here');
            ReportViewer1.Report = rptListBook;

      2) aspx file
         <telerik:ReportViewer ID="ReportViewer1" runat="server" Height="1px" Width="1px" ToolbarVisible="False" />

    Please do the needful.

  2. Gopinath
    Gopinath avatar
    63 posts
    Member since:
    Sep 2011

    Posted 06 Jan 2015 in reply to Gopinath Link to this post


    Could you please look into this, as its a bit urgent for us to close this issue in the application.

    Thanks in Advance
  3. Stef
    Stef avatar
    3610 posts

    Posted 07 Jan 2015 Link to this post

    Hi Gopinath,

    Telerik Reporting produces PDF files based on the Design Considerations for PDF Rendering. Changing the encoding is not supported.

    Please test using Unicode fonts, or special fonts installed on the client's machine or fully embedded in the PDF document, and if the third-party conversion tools manage to handle the content of the original PDF file.

    You can also test using the PdfProcessing libraries of Telerik UI for ASP.NET AJAX to generate the required PDF files.

    In future, if it is an emergency, please use the support ticketing system where you will receive guaranteed replies by Telerik representative in the time range listed in your support plan.

    Thank you for your understanding.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top