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
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
0
Accepted
Hello Soham,
Please examine the following link:
RadGrid PDF export
Regards,
Daniel
the Telerik team
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
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
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
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.