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

telerik export to excel

5 Answers 126 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Atif
Top achievements
Rank 1
Atif asked on 30 Aug 2010, 06:36 AM
when i click on the export to excel button,excel file open but missing some columns data.any body have idea plz tel me why file missing columns data

5 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 02 Sep 2010, 12:47 PM
Hello Atif,

I suppose that you have GridTemplateColumns with nested controls that are stripped when exporting. If you post the problematic columns I could provide more to-the-point suggestion.

In the meantime you can examine the following links:
Word/Excel export (HTML-based)
ExcelML export

Best 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
0
Atif
Top achievements
Rank 1
answered on 03 Sep 2010, 04:47 AM
 <telerik:GridTemplateColumn HeaderText="Domain Name" UniqueName="DomainName">
       <ItemTemplate>
               <asp:LinkButton ID="lnkDomainName" runat="server"></asp:LinkButton>
       </ItemTemplate>
   </telerik:GridTemplateColumn>


missing columns data.
0
Daniel
Telerik team
answered on 03 Sep 2010, 03:34 PM
Hello Atif,

If you set ExportOnlyData to false the button will be shown in the exported file.

RadGrid Export Overview

Best 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
0
Atif
Top achievements
Rank 1
answered on 09 Sep 2010, 06:38 AM
no effect on result same resut.column missing data
0
Daniel
Telerik team
answered on 10 Sep 2010, 09:29 PM
Hello Atif,

Please try the attached demo and let me know if I'm missing something. Note that I added a sample text to the LinkButton.

Best 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
Atif
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Atif
Top achievements
Rank 1
Share this question
or