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

Radgrid Export to PDF formatting issue

2 Answers 183 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ruby
Top achievements
Rank 1
Ruby asked on 06 Jun 2014, 04:50 PM
Hi,
I am trying to export my radgrid to PDF.The file is exported fine but  radgrid in the pdf file has table and cells with dark black border. I tried several things in itemcreated and itemdatbound event but it is not changing border color or bordertype. Text color can be changed easily but not border color. Any help would be appreaciated. Please see attached image from pdf file. I would like to change cell border and table border.

2 Answers, 1 is accepted

Sort by
0
Accepted
Radoslav
Telerik team
answered on 11 Jun 2014, 08:19 AM
Hello Ruby,

Could you please try setting the RadGrid.ExportSettings.Pdf.BorderType to AllBorders and let me know if it helps you:
<telerik:RadGrid runat="server" ID="RadGrid1" …>
        
        <ExportSettings>
            <Pdf BorderType="AllBorders"></Pdf>
        </ExportSettings>
</telerik:RadGrid>

Additionally I am sending you a simple example which demonstrates the desired functionality.

I hope this helps.

Regards,
Radoslav
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.

 
0
Ruby
Top achievements
Rank 1
answered on 11 Jun 2014, 02:17 PM
Thanks, that worked for me.
Tags
Grid
Asked by
Ruby
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Ruby
Top achievements
Rank 1
Share this question
or