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
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.
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: