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

RadGrid Excel Export With Template/Link Column Not Exporting

1 Answer 186 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rodney
Top achievements
Rank 2
Rodney asked on 17 Dec 2015, 02:09 PM

I've read a number of other threads that relate to this, but the help article link seems to be outdated. I have an  column that contains a and the text is not exporting. 

I've tried ExportOnlyData="false", but that didn't work. Any ideas would be greatly appreciated.

<telerik:GridTemplateColumn HeaderText="Source" UniqueName="SOURCEDESCRIPTION" ShowFilterIcon="false"
SortExpression="SourceDescription" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true">
    <ItemTemplate>
        <asp:LinkButton ID="lnkSource" runat="server" CausesValidation="false" CommandName="VIEWACTIONITEM"
            CommandArgument='<%# Eval("IssueId") %>' Text='<%# Eval("SourceDescription") %>' ToolTip="View Action Item">                  </asp:LinkButton>
 </ItemTemplate>

</telerik:GridTemplateColumn>

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 17 Dec 2015, 04:30 PM
Hi,

I am not sure why you are not able to export to excel after you have set ExportOnlyData property to false. Could you confirm that you have not set this property in the code behind to true which could lead to the problem you encounter? However, I have prepared a sample test project where all export formats of the grid are working properly. Give it a try and see what is the difference in your case.

Regards,
Pavlina
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Rodney
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Share this question
or