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

How to change the encoding format dynamically using report viewer

2 Answers 552 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gopinath
Top achievements
Rank 2
Gopinath asked on 05 Jan 2015, 10:11 AM
  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 Answers, 1 is accepted

Sort by
0
Gopinath
Top achievements
Rank 2
answered on 06 Jan 2015, 02:42 PM
Hi,

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

Thanks in Advance
Gopinath
0
Stef
Telerik team
answered on 07 Jan 2015, 07:03 PM
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.

Regards,
Stef
Telerik
 

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.

 
Tags
General Discussions
Asked by
Gopinath
Top achievements
Rank 2
Answers by
Gopinath
Top achievements
Rank 2
Stef
Telerik team
Share this question
or