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

Rad grid pdf export

5 Answers 134 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Soham
Top achievements
Rank 1
Soham asked on 25 Apr 2011, 10:47 AM
 Hello

I am using a radgrid to display my data and then using its inbuilt property of exporting to pdf to export my data into a pdf file.

But I don't know why the width of the first column is too much ,I tried to set it i the itemcreated event of the grid but it only affects the grid on the web page not in the pdf.

And  I  also want to have borders between each cells in the pdf

Can anyone help me with this.
I would really appreciate it.

Thanks in advance.

Soham
 

5 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 25 Apr 2011, 11:58 AM
Hello Soham,

Please examine the following link:
RadGrid PDF export

Regards,
Daniel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Soham
Top achievements
Rank 1
answered on 27 Apr 2011, 06:03 AM
Thanks Daniel 
I managed to set the width of the columns in the pdf.

But I tried to set the borders around my data and headers in the pdf in the item created event,
the effect shows on the web page but the borders don't appear in the generated pdf.

Can you help me with this.
And thanks again
Soham 
0
Accepted
Daniel
Telerik team
answered on 02 May 2011, 04:23 PM
Hello Soham,

I created a simple demo for you. Test it on your end and let me know whether it works as expected at your side.

Regards,
Daniel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Soham
Top achievements
Rank 1
answered on 03 May 2011, 08:14 AM
thanks for the help. :-)
0
Siva
Top achievements
Rank 1
answered on 15 Mar 2013, 10:01 AM
Thanks daniel for your post.
Tags
General Discussions
Asked by
Soham
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Soham
Top achievements
Rank 1
Siva
Top achievements
Rank 1
Share this question
or