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

Export to PDF issue

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Roland
Top achievements
Rank 1
Roland asked on 06 Apr 2010, 09:18 PM
Hello,
 I'm exporting a  Radgrid to a PDF but the result looks like the attached document.
 I can't seem to figure out what's causing the strange output.
New rows(<TR>) aren't starting in a new row. instead everything  appears os one long string.
 
 part of my grid code looks like this:
<telerik:RadGrid runat="server" ID="rgMediaInfo" Skin="Default" GridLines="None" 
                AllowSorting="true" ShowHeader="false" OnItemDataBound="rgMediaInfo_ItemDataBound">  
                <ExportSettings Pdf-PageTitle="Masters Details" ></ExportSettings>  
                <MasterTableView> 
                  
                    <ItemTemplate> 
                      <table width="320px">  
                      <colgroup > 
                      <col /> 
                      <col /> 
                      </colgroup> 
                             <tr> 
                                <td> 
                                    <asp:Label ID="lblMediaTypeLabel" runat="server" Text="Media Type"></asp:Label> 
                                </td> 
                                <td> 
                                    <asp:Label ID="lblMediaType" runat="server" Text='<%#Eval("MediaType")%>' ></asp:Label> 
                                </td> 
                            </tr> 
                            <tr> 
                                <td> 
                                    <asp:Label ID="lblMediaAssetTypeLabel" runat="server" Text="Media Asset Type"></asp:Label> 
                                </td> 
                                <td> 
                                    <asp:Label ID="lblMediaAssetType" runat="server" Text='<%# Eval("MediaAssetType") %>'></asp:Label> 
                                </td> 
                            </tr> 
*  
*  
*  
*  
 

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 07 Apr 2010, 07:51 PM
Hello Roland,

I don't see anything wrong in your code. Can you post the whole declaration of your RadGrid?

Regards,
Daniel
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Roland
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or