Questions about GridViewPdfExport

1 Answer 32 Views
GridView
George C.
Top achievements
Rank 2
Iron
Veteran
George C. asked on 20 Aug 2021, 03:20 AM

Greetings,

I have got some questions about the  GridViewPdfExport object:

Question 1: I set ExportVisualSettings property to true, but it doesn't apply cells' back and fore colors when exporting to PDF. My associated RadGridView's cells are colorful (columns are in different back and fore colors) and I need the GridViewPdfExport object to export the RadGridView customization the same way a RadPrintDocument does.

Question 2: For some of my clients, I'm using Arabic and Persian languages (and fonts) in my RadGridViews. When using GridViewPdfExport object, texts are Spell Backwards . For example, if first column's header text is "نام", it exports it as "م ا ن ". I tired exporting data using ExportToPDF object, Handling the HTMLCellFormatting event as it is documented in the RadFridView PDF export documentations, but I guess it only supports left-to-right languages, or maybe, I'm not using an appropriate Unicode font in this case (I also tried Arial Unicode MS, but the texts are printed like ####-##). What's the solution for the languages I mentioned ?

 

 


George C.
Top achievements
Rank 2
Iron
Veteran
commented on 23 Aug 2021, 02:09 PM

any answers?

1 Answer, 1 is accepted

Sort by
0
Nadya
Telerik team
answered on 23 Aug 2021, 02:36 PM

Hello, George,

Straight to your questions:

1. You can handle the CellFormatting event of the GridViewPdfExport object and change the cell's back color and fore color according to your needs.

2. It seems that you have encountered a known issue within our export provider since it currently does not support Arabic or other right-to-left languages. It is already logged on our feedback portal. You can track its progress, subscribe to status changes, and add your vote/comment to it on the following link - feedback item.

Due to the complexity of the issue, there is no workaround at the moment.

Off topic, please have in mind that most of the forum threads are reviewed by Telerik representatives and sometimes we address the questions asked by our customers in the forums as well where the response time is 72 hours. However, a post in the forum doesn't guarantee you a response from the Telerik support team. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread. 

I hope this helps. If you have any other questions do not hesitate to contact me.

Regards,
Nadya
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
GridView
Asked by
George C.
Top achievements
Rank 2
Iron
Veteran
Answers by
Nadya
Telerik team
Share this question
or