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

EXport References to Excel

3 Answers 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lena
Top achievements
Rank 1
Lena asked on 18 Aug 2008, 09:42 PM
Hello,
I have next question:

I use a RadGrid object(populating by DataTable Itmems) which has a column of references.
Then I want to export RadGrid to Excel. Everything works...But in Excel document I cant see my references.
So How can I export RadGrid with references?
Any help will be appriciate!

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 22 Aug 2008, 08:31 AM
Hi Lena,

Could you please verify whether you have set the ExportOnlyData property to true. If this setting is enabled the presented behaviour is expected as in this case only the BoundColumn Data will be exported.

Sincerely yours,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Lena
Top achievements
Rank 1
answered on 22 Aug 2008, 11:21 AM
Thank you for answer.
I resolve this task another way.
But I did set ExportOnlyData it a True and it still doesn't work.
May be it's bound with populating my RadGrid. I create columns by binding RadGrid with DataTable
0
Sebastian
Telerik team
answered on 25 Aug 2008, 11:32 AM
Hi Lena,

Can you please specify what do you mean by export RadGrid with references? Is it that you have links in your grid that you would like to be present under the exported document? If so, set ExportOnlyData to false and the links should become be part of the exported file.

In case you would like merely to have the text strings of those links in the Excel sheet, consider the solution presented under the 'Exporting GridButtonColumn/GridTemplateColumn/GridHyperLinkColumn data' paragraph of this documentation article:

http://www.telerik.com/help/aspnet-ajax/grdexporttipstricks.html

Regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Lena
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Lena
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or