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

[Solved] Export PDF problem when skin=""

3 Answers 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jill
Top achievements
Rank 1
Jill asked on 15 May 2009, 06:10 PM
I have a radgrid that has skin="" in the tag (<radgrid id="RadGrid1" runat="server" skin="">).  When I export to PDF I get an error that says the file is corrupted.  If I remove skin="" then the pdf gets exported just fine.  Do you have a work-around for this?

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 18 May 2009, 01:20 PM
Hello Jill,

To avoid the error you received you need to add Width for the MasterTableView.
ASPX:
<MasterTableView AutoGenerateColumns="False" Width="900px" DataSourceID="AccessDataSource1" DataKeyNames="OrderID"

Give this suggestion a try and let me know if it works as expected.

Sincerely yours,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Yavor
Telerik team
answered on 18 May 2009, 01:20 PM
Hello Jill,

To avoid the error you received you need to add Width for the MasterTableView.
ASPX:
<MasterTableView AutoGenerateColumns="False" Width="900px" DataSourceID="AccessDataSource1" DataKeyNames="OrderID"

Give this suggestion a try and let me know if it works as expected.

Sincerely yours,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jill
Top achievements
Rank 1
answered on 19 May 2009, 05:53 AM
Thanks!  That was exactly what I needed!
Tags
Grid
Asked by
Jill
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Yavor
Telerik team
Jill
Top achievements
Rank 1
Share this question
or